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/r-cran-openmx-2.18.1/src/npsolswitch.h
Examining data/r-cran-openmx-2.18.1/src/ComputeGD.h
Examining data/r-cran-openmx-2.18.1/src/omxGREMLExpectation.h
Examining data/r-cran-openmx-2.18.1/src/omxNPSOLSpecific.cpp
Examining data/r-cran-openmx-2.18.1/src/matrix.h
Examining data/r-cran-openmx-2.18.1/src/omxMLFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/omxCsolnp.h
Examining data/r-cran-openmx-2.18.1/src/ConcurrentQueue.h
Examining data/r-cran-openmx-2.18.1/src/omxLISRELExpectation.h
Examining data/r-cran-openmx-2.18.1/src/omxBVN.h
Examining data/r-cran-openmx-2.18.1/src/Compute.h
Examining data/r-cran-openmx-2.18.1/src/omxRFitFunction.h
Examining data/r-cran-openmx-2.18.1/src/nlopt-internal.h
Examining data/r-cran-openmx-2.18.1/src/nanotimer_gettime.h
Examining data/r-cran-openmx-2.18.1/src/nanotimer_windows.h
Examining data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/dmvnorm.cpp
Examining data/r-cran-openmx-2.18.1/src/SelfAdjointEigenSolverNosort.h
Examining data/r-cran-openmx-2.18.1/src/MarkovExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/ComputeGD.cpp
Examining data/r-cran-openmx-2.18.1/src/ssMLFit.cpp
Examining data/r-cran-openmx-2.18.1/src/omxExportBackendState.cpp
Examining data/r-cran-openmx-2.18.1/src/omxStateSpaceExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/omxState.cpp
Examining data/r-cran-openmx-2.18.1/src/omxFitFunctionBA81.cpp
Examining data/r-cran-openmx-2.18.1/src/omxSadmvnWrapper.h
Examining data/r-cran-openmx-2.18.1/src/asubnp.cpp
Examining data/r-cran-openmx-2.18.1/src/omxData.h
Examining data/r-cran-openmx-2.18.1/src/ComputeNM.cpp
Examining data/r-cran-openmx-2.18.1/src/polynomial.h
Examining data/r-cran-openmx-2.18.1/src/ba81quad.h
Examining data/r-cran-openmx-2.18.1/src/omxExpectation.h
Examining data/r-cran-openmx-2.18.1/src/stop.c
Examining data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.h
Examining data/r-cran-openmx-2.18.1/src/options.c
Examining data/r-cran-openmx-2.18.1/src/omxSymbolTable.h
Examining data/r-cran-openmx-2.18.1/src/omxGREMLfitfunction.cpp
Examining data/r-cran-openmx-2.18.1/src/omxExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/omxNLopt.cpp
Examining data/r-cran-openmx-2.18.1/src/omxMatrix.h
Examining data/r-cran-openmx-2.18.1/src/omxHessianCalculation.cpp
Examining data/r-cran-openmx-2.18.1/src/slsqp.h
Examining data/r-cran-openmx-2.18.1/src/matrix.cpp
Examining data/r-cran-openmx-2.18.1/src/ComputeNM.h
Examining data/r-cran-openmx-2.18.1/src/multi_normal_sufficient.hpp
Examining data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/asa_usr_asa.h
Examining data/r-cran-openmx-2.18.1/src/omxFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/omxState.h
Examining data/r-cran-openmx-2.18.1/src/matlogexp.cpp
Examining data/r-cran-openmx-2.18.1/src/nanotimer.cpp
Examining data/r-cran-openmx-2.18.1/src/omxRowFitFunction.h
Examining data/r-cran-openmx-2.18.1/src/omxImportFrontendState.cpp
Examining data/r-cran-openmx-2.18.1/src/omxMatrix.cpp
Examining data/r-cran-openmx-2.18.1/src/asa.h
Examining data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h
Examining data/r-cran-openmx-2.18.1/src/nanotimer_macosx.h
Examining data/r-cran-openmx-2.18.1/src/RAMInternal.h
Examining data/r-cran-openmx-2.18.1/src/path.h
Examining data/r-cran-openmx-2.18.1/src/omxLISRELExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/glue.h
Examining data/r-cran-openmx-2.18.1/src/omxAlgebra.cpp
Examining data/r-cran-openmx-2.18.1/src/omxAlgebra.h
Examining data/r-cran-openmx-2.18.1/src/povRAM.cpp
Examining data/r-cran-openmx-2.18.1/src/Compute.cpp
Examining data/r-cran-openmx-2.18.1/src/nlopt-util.h
Examining data/r-cran-openmx-2.18.1/src/omxNormalExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/omxImportFrontendState.h
Examining data/r-cran-openmx-2.18.1/src/omxRFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/omxSymbolTable.cpp
Examining data/r-cran-openmx-2.18.1/src/omxWLSFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/ComputeSD.h
Examining data/r-cran-openmx-2.18.1/src/omxGREMLExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/minicsv.h
Examining data/r-cran-openmx-2.18.1/src/omxExpectationBA81.h
Examining data/r-cran-openmx-2.18.1/src/CovEntrywisePar.h
Examining data/r-cran-openmx-2.18.1/src/ComputeSD.cpp
Examining data/r-cran-openmx-2.18.1/src/FellnerFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/algebraOp.h
Examining data/r-cran-openmx-2.18.1/src/fitMultigroup.h
Examining data/r-cran-openmx-2.18.1/src/asa.c
Examining data/r-cran-openmx-2.18.1/src/nanotimer_rtposix.h
Examining data/r-cran-openmx-2.18.1/src/Connectedness.h
Examining data/r-cran-openmx-2.18.1/src/dmvnorm.h
Examining data/r-cran-openmx-2.18.1/src/omxData.cpp
Examining data/r-cran-openmx-2.18.1/src/omxNLopt.h
Examining data/r-cran-openmx-2.18.1/src/omxFitFunction.h
Examining data/r-cran-openmx-2.18.1/src/omxExpectationBA81.cpp
Examining data/r-cran-openmx-2.18.1/src/fitMultigroup.cpp
Examining data/r-cran-openmx-2.18.1/src/EnableWarnings.h
Examining data/r-cran-openmx-2.18.1/src/optimize.c
Examining data/r-cran-openmx-2.18.1/src/omxAlgebraFitFunction.cpp
Examining data/r-cran-openmx-2.18.1/src/ComputeNR.cpp
Examining data/r-cran-openmx-2.18.1/src/finiteDifferences.h
Examining data/r-cran-openmx-2.18.1/src/general.c
Examining data/r-cran-openmx-2.18.1/src/LoadDataAPI.h
Examining data/r-cran-openmx-2.18.1/src/omxExportBackendState.h
Examining data/r-cran-openmx-2.18.1/src/MarkovFF.cpp
Examining data/r-cran-openmx-2.18.1/src/nr.h
Examining data/r-cran-openmx-2.18.1/src/slsqp.c
Examining data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp
Examining data/r-cran-openmx-2.18.1/src/omxDefines.h
Examining data/r-cran-openmx-2.18.1/src/glue.cpp
Examining data/r-cran-openmx-2.18.1/src/omxNPSOLSpecific.h
Examining data/r-cran-openmx-2.18.1/src/ba81quad.cpp
Examining data/r-cran-openmx-2.18.1/src/nlopt.h

FINAL RESULTS:

data/r-cran-openmx-2.18.1/src/Compute.h:261:73:  [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.
	void recordIterationError(const char* msg, ...) __attribute__((format (printf, 2, 3)));
data/r-cran-openmx-2.18.1/src/asa.c:980:18:  [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.
  VFOR (index_v) fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1002:18:  [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.
  VFOR (index_v) fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1019:18:  [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.
  VFOR (index_v) fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1041:18:  [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.
  VFOR (index_v) fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1057:18:  [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.
  VFOR (index_v) fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1089:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1109:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1474:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1556:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:1608:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:2060:22:  [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_ret = fscanf (ptr_save_opt, "%s%s%s%s%s",
data/r-cran-openmx-2.18.1/src/asa.c:2079:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2082:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2086:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2089:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2093:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2096:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2100:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2103:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2106:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2109:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2112:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2115:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2119:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2122:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2126:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2131:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2135:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2140:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2144:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2147:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2150:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2153:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2157:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2160:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2163:22:  [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_ret = fscanf (ptr_save_opt, "%s", read_option);
data/r-cran-openmx-2.18.1/src/asa.c:2784:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:2800:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:3116:18:  [4] (shell) popen:
  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.
      ptr_comm = popen (asa_save_comm, "r");
data/r-cran-openmx-2.18.1/src/asa.c:3125:18:  [4] (shell) popen:
  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.
      ptr_comm = popen (asa_save_comm, "r");
data/r-cran-openmx-2.18.1/src/asa.c:3766:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:4531: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 (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:4547:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:4565: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 (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:4581:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:6770:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:6805:11:  [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 (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa.c:6818:11:  [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 (ptr_asa_out,
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:705: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.
  int fprintf (FILE * fp, const char *string, ...);
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:706:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  int sprintf (char *s, const char *format, ...);
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:707:9:  [4] (shell) popen:
  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.
  FILE *popen (const char *command, const char *mode);
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:712: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.
  int fprintf ();
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:713:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  int sprintf ();
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:752: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.
  int fprintf ();
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:753:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  int sprintf ();
data/r-cran-openmx-2.18.1/src/asa_usr_asa.h:758:9:  [4] (shell) popen:
  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.
  FILE *popen ();
data/r-cran-openmx-2.18.1/src/nlopt-internal.h:100:25:  [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.
__attribute__ ((format (printf, 2, 3)))
data/r-cran-openmx-2.18.1/src/nlopt-util.h:101:25:  [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.
__attribute__ ((format (printf, 2, 3)))
data/r-cran-openmx-2.18.1/src/omxDefines.h:145:74:  [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.
std::string string_snprintf(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
data/r-cran-openmx-2.18.1/src/omxDefines.h:146:57:  [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.
void mxLog(const char* msg, ...) __attribute__((format (printf, 1, 2)));   // thread-safe
data/r-cran-openmx-2.18.1/src/omxState.cpp:587:17:  [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.
        int n = vsnprintf((char *)dest.c_str(), size, fmt, ap);
data/r-cran-openmx-2.18.1/src/omxState.cpp:680:2:  [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(buf1, maxLen, msg, ap);
data/r-cran-openmx-2.18.1/src/omxState.cpp:803:2:  [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(buf1, maxLen, msg, ap);
data/r-cran-openmx-2.18.1/src/omxState.h:290:99:  [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.
	void checkpointMessage(FitContext *fc, double *est, const char *fmt, ...) __attribute__((format (printf, 4, 5)));
data/r-cran-openmx-2.18.1/src/omxState.h:428:66:  [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.
void omxRaiseErrorf(const char* fmt, ...) __attribute__((format (printf, 1, 2)));
data/r-cran-openmx-2.18.1/src/omxState.h:432:77:  [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.
void diagParallel(int verbose, const char* msg, ...) __attribute__((format (printf, 2, 3)));
data/r-cran-openmx-2.18.1/src/stop.c:147:19:  [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.
    while ((ret = vsnprintf(p, len, format, ap)) < 0 || (size_t)ret >= len) {
data/r-cran-openmx-2.18.1/src/glue.cpp:399:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				char *ont = getenv("OMP_NUM_THREADS");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:299:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Null matrix pointer detected.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:767: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(errstr, "index %d is out of bounds in '[' operator.", element);
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:779: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(errstr, "index %d is out of bounds in '[' operator.", element);
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:790:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Positive and negative indices together in '[' operator.");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:1070:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "To generate a matrix from a diagonal that is not 1xN or Nx1.");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:1924:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(result->data, inMat->data, size*sizeof(double));
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:1945:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(result->data, inMat->data, size * sizeof(double));
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:1964:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Non-finite start value in ':' operator.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:1972:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Non-finite stop value in ':' operator.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2021:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "covariance is not a square matrix");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2029:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "means is neither row nor column vector");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2101: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(errstr, "Invalid lowest threshold for dimension %d of Allint.", j);
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2119: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(errstr, "Thresholds (%f and %f) are not strictly increasing for dimension %d of Allint.", lbound, ubound, j+1);
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2282:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Selector must have a single row or a single column.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2290:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Non-conformable matrices for row selection.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2322:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Selector must have a single row or a single column.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2330:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Non-conformable matrices for row selection.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2362:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Selector must have a single row or a single column.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2370:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Can only select rows and columns from square matrices.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2378:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "Non-conformable matrices for row selection.\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2406: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(errstr, "cov2cor of non-square matrix cannot even be attempted\n");
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2474: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(errstr, "vech2full input has %d rows and %d columns\n", inMat->rows, inMat->cols);
data/r-cran-openmx-2.18.1/src/AlgebraFunctions.h:2512: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(errstr, "vechs2full input has %d rows and %d columns\n", inMat->rows, inMat->cols);
data/r-cran-openmx-2.18.1/src/Compute.cpp:783: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(est, startingValues.data(), sizeof(double) * numParam);
data/r-cran-openmx-2.18.1/src/Compute.cpp:1076: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(childList[i]->est, est, sizeof(double) * numParam);
data/r-cran-openmx-2.18.1/src/Compute.cpp:1288: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(getDenseHessUninitialized(), infoB, sizeof(double) * numParam * numParam); // avoid copy TODO
data/r-cran-openmx-2.18.1/src/Compute.cpp:1292: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(getDenseHessUninitialized(), infoA, sizeof(double) * numParam * numParam); // avoid copy TODO
data/r-cran-openmx-2.18.1/src/Compute.cpp:1583:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(vv.data(), &prevAdj1[0], sizeof(double) * numParam);
data/r-cran-openmx-2.18.1/src/Compute.cpp:2289:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char name[32];
data/r-cran-openmx-2.18.1/src/Compute.cpp:2940: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(&prevEst[0], fc->est, sizeof(double) * fc->numParam);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3025:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(estCopy, fc->est, sizeof(double) * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3040:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(optimum.data(), fc->est, sizeof(double) * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3051:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(fc->est, optimum.data(), sizeof(double) * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3251: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(REAL(rateMatrix), rij.data(), sizeof(double) * freeVars * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3285: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(REAL(outputInfoMatrix), infoBuf.data(), sizeof(double) * freeVars * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3293: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(ihess, infoBuf.data(), sizeof(double) * freeVars * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3345:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(REAL(Rpo), probeOffset.data(), sizeof(double) * maxHistLen * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3352:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(REAL(Rdiff), diffWork.data(), sizeof(double) * maxHistLen * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3359:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(INTEGER(Rphl), paramProbeCount.data(), sizeof(int) * freeVars);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3846: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(REAL(Vcov), fc->vcov.data(), sizeof(double) * fc->vcov.rows() * fc->vcov.cols());
data/r-cran-openmx-2.18.1/src/Compute.cpp:3854: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(REAL(stdErrors), fc->stderrs.data(), sizeof(double) * numFree);
data/r-cran-openmx-2.18.1/src/Compute.cpp:3975:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( REAL(cv), fc->constraintFunVals.data(), sizeof(double) * fc->constraintFunVals.size() );
data/r-cran-openmx-2.18.1/src/Compute.cpp:3980:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( REAL(cjac), fc->constraintJacobian.data(), sizeof(double) * fc->constraintJacobian.rows() * fc->constraintJacobian.cols() );
data/r-cran-openmx-2.18.1/src/Compute.cpp:4171: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(INTEGER(VECTOR_ELT(rawOutput, 0)),
data/r-cran-openmx-2.18.1/src/Compute.cpp:4175:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(REAL(VECTOR_ELT(rawOutput, 1+cx)),
data/r-cran-openmx-2.18.1/src/Compute.cpp:4179: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(INTEGER(VECTOR_ELT(rawOutput, 2 + fc->numParam)),
data/r-cran-openmx-2.18.1/src/Compute.cpp:5067:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		ofs.open(path, append? std::ofstream::app : std::ofstream::trunc);
data/r-cran-openmx-2.18.1/src/Compute.cpp:5261:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char timeBuf[timeBufSize];
data/r-cran-openmx-2.18.1/src/ComputeGD.cpp:565: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( REAL(cv), fc->constraintFunVals.data(), sizeof(double) * fc->constraintFunVals.size() );
data/r-cran-openmx-2.18.1/src/ComputeGD.cpp:570: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( REAL(cjac), fc->constraintJacobian.data(), sizeof(double) * fc->constraintJacobian.rows() * fc->constraintJacobian.cols() );
data/r-cran-openmx-2.18.1/src/ComputeGD.cpp:575: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( REAL(lambdas), fc->LagrMultipliers.data(), sizeof(double) * fc->LagrMultipliers.size() );
data/r-cran-openmx-2.18.1/src/ComputeGD.cpp:580: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( INTEGER(cstates), fc->constraintStates.data(), sizeof(int) * fc->constraintStates.size() );
data/r-cran-openmx-2.18.1/src/ComputeGD.cpp:585: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( REAL(lagrhess), fc->LagrHessian.data(), sizeof(double) * fc->LagrHessian.rows() * fc->LagrHessian.cols() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:470: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( REAL(cv), fc->constraintFunVals.data(), sizeof(double) * fc->constraintFunVals.size() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:475: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( REAL(vrt), verticesOut.data(), sizeof(double) * verticesOut.rows() * verticesOut.cols() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:480: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( REAL(fv), fvalsOut.data(), sizeof(double) * fvalsOut.size() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:485: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( INTEGER(vinf), vertexInfeasOut.data(), sizeof(int) * vertexInfeasOut.size() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:490: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( REAL(phess), pseudohess.data(), sizeof(double) * pseudohess.rows() * pseudohess.cols() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:495: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( REAL(sg), simplexGradient.data(), sizeof(double) * simplexGradient.rows() );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:501:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( REAL(fpm), &fproxOut, sizeof(double) );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:505:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( REAL(xpm), &xproxOut, sizeof(double) );
data/r-cran-openmx-2.18.1/src/ComputeNM.cpp:509:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( REAL(bf), &bestfitOut, sizeof(double) );
data/r-cran-openmx-2.18.1/src/ComputeNR.cpp:78:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(prevEst.data(), nro.getParamVec(), numParam * sizeof(double));
data/r-cran-openmx-2.18.1/src/ComputeNR.cpp:329: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(ihess, hess, sizeof(double) * dim * dim);
data/r-cran-openmx-2.18.1/src/asa.c:12: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 exit_msg[160];             /* temp storage for exit messages */
data/r-cran-openmx-2.18.1/src/asa.c:91: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 asa_save_comm[100];
data/r-cran-openmx-2.18.1/src/asa.c:93: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 read_option[80];
data/r-cran-openmx-2.18.1/src/asa.c:94: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 read_if[4], read_FALSE[6], read_comm1[3], read_ASA_SAVE[9],
data/r-cran-openmx-2.18.1/src/asa.c:218: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 (exit_msg, "asa(): curvature_flag");
data/r-cran-openmx-2.18.1/src/asa.c:224: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 (exit_msg, "asa(): maximum_tangent");
data/r-cran-openmx-2.18.1/src/asa.c:231: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 (exit_msg, "asa(): accepted_to_generated_ratio");
data/r-cran-openmx-2.18.1/src/asa.c:238: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 (exit_msg, "asa(): temperature_scale_cost");
data/r-cran-openmx-2.18.1/src/asa.c:245: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 (exit_msg, "asa(): current_cost_temperature");
data/r-cran-openmx-2.18.1/src/asa.c:252: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 (exit_msg, "asa(): initial_cost_temperature");
data/r-cran-openmx-2.18.1/src/asa.c:258: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 (exit_msg, "asa(): index_exit_v");
data/r-cran-openmx-2.18.1/src/asa.c:264: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 (exit_msg, "asa(): start_sequence");
data/r-cran-openmx-2.18.1/src/asa.c:271: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 (exit_msg, "asa(): number_generated");
data/r-cran-openmx-2.18.1/src/asa.c:278: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 (exit_msg, "asa(): best_number_generated_saved");
data/r-cran-openmx-2.18.1/src/asa.c:285: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 (exit_msg, "asa(): recent_number_generated");
data/r-cran-openmx-2.18.1/src/asa.c:292: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 (exit_msg, "asa(): number_accepted");
data/r-cran-openmx-2.18.1/src/asa.c:299: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 (exit_msg, "asa(): recent_number_acceptances");
data/r-cran-openmx-2.18.1/src/asa.c:306: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 (exit_msg, "asa(): index_cost_acceptances");
data/r-cran-openmx-2.18.1/src/asa.c:313: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 (exit_msg, "asa(): number_acceptances_saved");
data/r-cran-openmx-2.18.1/src/asa.c:320: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 (exit_msg, "asa(): best_number_accepted_saved");
data/r-cran-openmx-2.18.1/src/asa.c:327: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 (exit_msg, "asa(): number_invalid_generated_states");
data/r-cran-openmx-2.18.1/src/asa.c:335: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 (exit_msg, "asa(): current_generated_state");
data/r-cran-openmx-2.18.1/src/asa.c:341: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 (exit_msg, "asa(): last_saved_state");
data/r-cran-openmx-2.18.1/src/asa.c:347: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 (exit_msg, "asa(): best_generated_state");
data/r-cran-openmx-2.18.1/src/asa.c:355: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 (exit_msg, "asa(): gener_block_state");
data/r-cran-openmx-2.18.1/src/asa.c:364: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 (exit_msg, "asa(): parallel_sort");
data/r-cran-openmx-2.18.1/src/asa.c:372: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 (exit_msg, "asa(): generate_flg_par");
data/r-cran-openmx-2.18.1/src/asa.c:379: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 (exit_msg, "asa(): valid_state_generated_flag_par");
data/r-cran-openmx-2.18.1/src/asa.c:387: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 (exit_msg, "asa(): number_invalid_generated_states_par");
data/r-cran-openmx-2.18.1/src/asa.c:395: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 (exit_msg, "asa(): repeated_invalid_states_par");
data/r-cran-openmx-2.18.1/src/asa.c:403: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 (exit_msg, "asa(): tmp_var_db1_par");
data/r-cran-openmx-2.18.1/src/asa.c:411: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 (exit_msg, "asa(): tmp_var_db_par");
data/r-cran-openmx-2.18.1/src/asa.c:420: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 (exit_msg, "asa(): parallel_gen_ratio_block");
data/r-cran-openmx-2.18.1/src/asa.c:451:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (OPTIONS->Asa_Out_File, "a");
data/r-cran-openmx-2.18.1/src/asa.c:453:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (OPTIONS->Asa_Out_File, "w");
data/r-cran-openmx-2.18.1/src/asa.c:463:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (ASA_OUT, "a");
data/r-cran-openmx-2.18.1/src/asa.c:465:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (ASA_OUT, "w");
data/r-cran-openmx-2.18.1/src/asa.c:476:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (OPTIONS->Asa_Out_File, "a");
data/r-cran-openmx-2.18.1/src/asa.c:484:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (ASA_OUT, "a");
data/r-cran-openmx-2.18.1/src/asa.c:504:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (OPTIONS->Asa_Out_File, "a");
data/r-cran-openmx-2.18.1/src/asa.c:512:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (ASA_OUT, "a");
data/r-cran-openmx-2.18.1/src/asa.c:522:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (OPTIONS->Asa_Out_File, "w");
data/r-cran-openmx-2.18.1/src/asa.c:530:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (ASA_OUT, "w");
data/r-cran-openmx-2.18.1/src/asa.c:541:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (OPTIONS->Asa_Out_File, "a");
data/r-cran-openmx-2.18.1/src/asa.c:549:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        ptr_asa_out = fopen (ASA_OUT, "a");
data/r-cran-openmx-2.18.1/src/asa.c:559:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ptr_asa_pipe = fopen ("asa_pipe", "a");
data/r-cran-openmx-2.18.1/src/asa.c:601:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ptr_exit_anytime = fopen ("asa_exit_anytime", "w")) != NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:643: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 (exit_msg, "asa(): current_generated_state->parameter");
data/r-cran-openmx-2.18.1/src/asa.c:651: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 (exit_msg, "asa(): last_saved_state->parameter");
data/r-cran-openmx-2.18.1/src/asa.c:659: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 (exit_msg, "asa(): best_generated_state->parameter");
data/r-cran-openmx-2.18.1/src/asa.c:669:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "asa(): gener_block_state[i_prll].parameter");
data/r-cran-openmx-2.18.1/src/asa.c:688: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 (exit_msg, "asa(): initial_user_parameter_temp");
data/r-cran-openmx-2.18.1/src/asa.c:697: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 (exit_msg, "asa(): index_parameter_generations");
data/r-cran-openmx-2.18.1/src/asa.c:707: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 (exit_msg, "asa(): current_user_parameter_temp");
data/r-cran-openmx-2.18.1/src/asa.c:727: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 (exit_msg, "asa(): temperature_scale_parameters");
data/r-cran-openmx-2.18.1/src/asa.c:741: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 (exit_msg, "asa(): save_queue_flag");
data/r-cran-openmx-2.18.1/src/asa.c:748: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 (exit_msg, "asa(): save_queue_cost");
data/r-cran-openmx-2.18.1/src/asa.c:756: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 (exit_msg, "asa(): save_queue_param");
data/r-cran-openmx-2.18.1/src/asa.c:771: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 (exit_msg, "asa(): queue_par_cost");
data/r-cran-openmx-2.18.1/src/asa.c:778: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 (exit_msg, "asa(): queue_new_par");
data/r-cran-openmx-2.18.1/src/asa.c:786: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 (exit_msg, "asa(): queue_v_par");
data/r-cran-openmx-2.18.1/src/asa.c:794: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 (exit_msg, "asa(): save_queue_indx_par");
data/r-cran-openmx-2.18.1/src/asa.c:802: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 (exit_msg, "asa(): save_queue_test_par");
data/r-cran-openmx-2.18.1/src/asa.c:810: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 (exit_msg, "asa(): save_queue_par");
data/r-cran-openmx-2.18.1/src/asa.c:818: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 (exit_msg, "asa(): *save_queue_valid_state_flag_par");
data/r-cran-openmx-2.18.1/src/asa.c:826: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 (exit_msg, "asa(): *save_queue_cost_par");
data/r-cran-openmx-2.18.1/src/asa.c:834: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 (exit_msg, "asa(): *save_queue_param_par");
data/r-cran-openmx-2.18.1/src/asa.c:842:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "asa(): save_queue_valid_state_flag_par[i_prll]");
data/r-cran-openmx-2.18.1/src/asa.c:849:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "asa(): save_queue_cost_par[i_prll]");
data/r-cran-openmx-2.18.1/src/asa.c:857:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "asa(): save_queue_param_par[i_prll]");
data/r-cran-openmx-2.18.1/src/asa.c:870: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 (exit_msg, "asa(): *multi_cost");
data/r-cran-openmx-2.18.1/src/asa.c:879: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 (exit_msg, "asa(): *multi_sort");
data/r-cran-openmx-2.18.1/src/asa.c:888: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 (exit_msg, "asa(): *multi_params");
data/r-cran-openmx-2.18.1/src/asa.c:897:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "asa(): multi_params[multi_index]");
data/r-cran-openmx-2.18.1/src/asa.c:1130:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (asa_save_comm, "asa_save_%d", OPTIONS->Asa_Recursive_Level);
data/r-cran-openmx-2.18.1/src/asa.c:1132:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf (asa_save_comm, "asa_save");
data/r-cran-openmx-2.18.1/src/asa.c:1133:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ptr_save = fopen (asa_save_comm, "r")) == NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:1263:31:  [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 ((ptr_exit_anytime = fopen ("asa_exit_anytime", "r")) == NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:1394:31:  [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 ((ptr_exit_anytime = fopen ("asa_exit_anytime", "r")) == NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:1790: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 (asa_save_comm, "asa_save_%d", OPTIONS->Asa_Recursive_Level);
data/r-cran-openmx-2.18.1/src/asa.c:1792: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 (asa_save_comm, "asa_save");
data/r-cran-openmx-2.18.1/src/asa.c:1793:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      ptr_save = fopen (asa_save_comm, "r");
data/r-cran-openmx-2.18.1/src/asa.c:2050:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if ((ptr_save_opt = fopen ("asa_save_opt", "r")) == NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:2187:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((ptr_exit_anytime = fopen ("asa_exit_anytime", "r")) == NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:2854: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 (asa_save_comm, "asa_save_%d", OPTIONS->Asa_Recursive_Level);
data/r-cran-openmx-2.18.1/src/asa.c:2856: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 (asa_save_comm, "asa_save");
data/r-cran-openmx-2.18.1/src/asa.c:2857:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      ptr_save = fopen (asa_save_comm, "w");
data/r-cran-openmx-2.18.1/src/asa.c:3101: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 (asa_save_comm, "/bin/cp asa_save_%d asa_save_%d.%ld",
data/r-cran-openmx-2.18.1/src/asa.c:3105: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 (asa_save_comm, "/bin/cp asa_save asa_save.%ld",
data/r-cran-openmx-2.18.1/src/asa.c:3109: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 (asa_save_comm, "/bin/cp asa_save_%d asa_save_%d.%d",
data/r-cran-openmx-2.18.1/src/asa.c:3113: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 (asa_save_comm, "/bin/cp asa_save asa_save.%d",
data/r-cran-openmx-2.18.1/src/asa.c:3121: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 (asa_save_comm, "/bin/cp asa_save_%d asa_save_%d.old",
data/r-cran-openmx-2.18.1/src/asa.c:3124: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 (asa_save_comm, "/bin/cp asa_save asa_save.old");
data/r-cran-openmx-2.18.1/src/asa.c:3243:37:  [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 ((ptr_exit_anytime = fopen ("asa_exit_anytime", "r")) == NULL) {
data/r-cran-openmx-2.18.1/src/asa.c:5653: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 (exit_msg, "*** seed == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5658: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 (exit_msg, "*** parameter_initial_final == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5663: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 (exit_msg, "*** parameter_minimum == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5668: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 (exit_msg, "*** parameter_maximum == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5673: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 (exit_msg, "*** tangents == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5679:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "*** curvature == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5685: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 (exit_msg, "*** number_parameters == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5690: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 (exit_msg, "*** parameter_type == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5695: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 (exit_msg, "*** valid_state_generated_flag == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5700: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 (exit_msg, "*** exit_status == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5705: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 (exit_msg, "*** OPTIONS == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:5711: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 (exit_msg, "*** parameter_minimum[] > parameter_maximum[] ***");
data/r-cran-openmx-2.18.1/src/asa.c:5719: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 (exit_msg, "*** parameter_initial[] < parameter_minimum[] ***");
data/r-cran-openmx-2.18.1/src/asa.c:5727: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 (exit_msg, "*** parameter_initial[] > parameter_maximum[] ***");
data/r-cran-openmx-2.18.1/src/asa.c:5732: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 (exit_msg, "*** *number_parameters < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:5739: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5746: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5752: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5758: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5764: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5770: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 (exit_msg, "*** COST_FILE != FALSE && COST_FILE != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5775: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 (exit_msg, "*** ASA_LIB != FALSE && ASA_LIB != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5780: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 (exit_msg, "*** MY_TEMPLATE != FALSE && MY_TEMPLATE != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5785: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5791: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 (exit_msg, "*** HAVE_ANSI != FALSE && HAVE_ANSI != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5796: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5802: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 (exit_msg, "*** TIME_CALC != FALSE && TIME_CALC != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5807: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 (exit_msg, "*** TIME_STD != FALSE && TIME_STD != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5812: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5818: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 (exit_msg, "*** INT_LONG != FALSE && INT_LONG != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5823: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 (exit_msg, "*** INT_ALLOC != FALSE && INT_ALLOC != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5828: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 (exit_msg, "*** SMALL_FLOAT < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:5833: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 (exit_msg, "*** MIN_DOUBLE < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:5838: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 (exit_msg, "*** MAX_DOUBLE < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:5843: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 (exit_msg, "*** EPS_DOUBLE < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:5848: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5854: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5860: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5866: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5872: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 (exit_msg, "*** ASA_TEST != FALSE && ASA_TEST != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5877: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5883: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5889: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 (exit_msg, "*** ASA_TEMPLATE != FALSE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5894: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5900: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5906: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5912: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5918: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5924: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5930: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5936: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5942: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5949: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5955: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5961: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5967: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 (exit_msg, "*** QUENCH_COST != FALSE && QUENCH_COST != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:5972: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5978: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5984: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5990: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:5996: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6002: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6008: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6014: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6020: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6026: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6032: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6038: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6044: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 (exit_msg, "*** MAXIMUM_REANNEAL_INDEX < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6049: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 (exit_msg, "*** REANNEAL_SCALE < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6054: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 (exit_msg, "*** ASA_SAMPLE != FALSE && ASA_SAMPLE != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6059: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6065: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 (exit_msg, "*** ASA_QUEUE != FALSE && ASA_QUEUE != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6070: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6076: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 (exit_msg, "*** ASA_FUZZY != FALSE && ASA_FUZZY != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6081: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6087: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 (exit_msg, "*** FITLOC != FALSE && FITLOC != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6092: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6098: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6104: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 (exit_msg, "*** MULTI_MIN != FALSE && MULTI_MIN != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6110: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 (exit_msg, "*** OPTIONS->Multi_Number <= 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6117:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6124: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6131: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6137: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 (exit_msg, "*** ASA_SAVE != FALSE && ASA_SAVE != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6142: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6148: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6154: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 (exit_msg, "*** ASA_PIPE != FALSE && ASA_PIPE != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6159: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6165: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 (exit_msg, "*** SYSTEM_CALL != FALSE && SYSTEM_CALL != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6170: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 (exit_msg, "*** FDLIBM_POW != FALSE && FDLIBM_POW != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6175: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 (exit_msg, "*** FDLIBM_LOG != FALSE && FDLIBM_LOG != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6180: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 (exit_msg, "*** FDLIBM_EXP != FALSE && FDLIBM_EXP != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6185: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 (exit_msg, "*** ASA_PRINT != FALSE && ASA_PRINT != TRUE ***");
data/r-cran-openmx-2.18.1/src/asa.c:6190: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6196: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6202: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6208: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6214: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 (exit_msg, "*** G_FIELD < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6219: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 (exit_msg, "*** G_PRECISION < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6225: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 (exit_msg, "*** Limit_Acceptances < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6230: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 (exit_msg, "*** Limit_Generated < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6235: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 (exit_msg, "*** Limit_Invalid_Generated_States < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6240: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 (exit_msg, "*** Accepted_To_Generated_Ratio <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6245: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 (exit_msg, "*** Cost_Precision <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6250: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 (exit_msg, "*** Maximum_Cost_Repeat < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6255: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6261: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 (exit_msg, "*** Temperature_Ratio_Scale <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6266: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 (exit_msg, "*** Cost_Parameter_Scale_Ratio <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6271: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 (exit_msg, "*** Temperature_Anneal_Scale <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6277: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 (exit_msg, "*** User_Cost_Temperature[0] <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6290: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6296: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 (exit_msg, "*** Sequential_Parameters >= *number_parameters ***");
data/r-cran-openmx-2.18.1/src/asa.c:6301: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 (exit_msg, "*** Initial_Parameter_Temperature <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6307: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 (exit_msg, "*** User_Temperature_Ratio[] <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6314: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 (exit_msg, "*** User_Parameter_Temperature[] <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6320: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 (exit_msg, "*** Acceptance_Frequency_Modulus < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6325: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 (exit_msg, "*** Generated_Frequency_Modulus < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6330: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 (exit_msg, "*** Reanneal_Cost == -1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6336: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6342: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 (exit_msg, "*** Delta_X < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6348: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 (exit_msg, "*** User_Delta_Parameter[] < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6354: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6361: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6368: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 (exit_msg, "*** User_Quench_Param_Scale[] <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6375: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 (exit_msg, "*** User_Quench_Cost_Scale[0] <= ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6382: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 (exit_msg, "*** Asa_Data_Dim_Dbl < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6387: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 (exit_msg, "*** Asa_Data_Dbl == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6394: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 (exit_msg, "*** Random_Array_Dim < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6399: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 (exit_msg, "*** Random_Array == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6406: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 (exit_msg, "*** Asa_Data_Dim_Int < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6411: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 (exit_msg, "*** Asa_Data_Int == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6418: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 (exit_msg, "*** Asa_Data_Dim_Ptr < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6423: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 (exit_msg, "*** Asa_Data_Ptr == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6430: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 (exit_msg, "*** Asa_Out_File == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6437: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 (exit_msg, "*** Cost_Schedule == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6444: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 (exit_msg, "*** Acceptance_Test == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6450: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6457: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 (exit_msg,
data/r-cran-openmx-2.18.1/src/asa.c:6465: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 (exit_msg, "*** Generating_Distrib == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6472: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 (exit_msg, "*** Reanneal_Cost_Function == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6479: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 (exit_msg, "*** Reanneal_Params_Function == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6486: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 (exit_msg, "*** Bias_Generated == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6491: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 (exit_msg, "*** Limit_Weights < ZERO ***");
data/r-cran-openmx-2.18.1/src/asa.c:6498: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 (exit_msg, "*** Queue_Size < 0 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6504:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (exit_msg, "*** Queue_Resolution == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6512: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 (exit_msg, "*** Coarse_Resolution == NULL ***");
data/r-cran-openmx-2.18.1/src/asa.c:6519: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 (exit_msg, "*** Gener_Block < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6524: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 (exit_msg, "*** Gener_Block_Max < 1 ***");
data/r-cran-openmx-2.18.1/src/asa.c:6529: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 (exit_msg, "*** Gener_Mov_Avr < 1 ***");
data/r-cran-openmx-2.18.1/src/asubnp.cpp:336: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(pars.data(), p_e.data(), pars.size() * sizeof(double));
data/r-cran-openmx-2.18.1/src/asubnp.cpp:399: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(pars.data(), p_e.data(), pars.size() * sizeof(double));
data/r-cran-openmx-2.18.1/src/asubnp.cpp:533:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pars.data(), p_e.data(), pars.size() * sizeof(double));
data/r-cran-openmx-2.18.1/src/asubnp.cpp:539: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(fit.gradOut.data(), resGrad.data(), fit.gradOut.size() * sizeof(double));
data/r-cran-openmx-2.18.1/src/asubnp.cpp:543: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(fit.hessOut.data(), hessv_e.data(), fit.hessOut.size() * sizeof(double));
data/r-cran-openmx-2.18.1/src/ba81quad.cpp:289:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[SMALLBUF];
data/r-cran-openmx-2.18.1/src/general.c:44:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char nlopt_algorithm_names[NLOPT_NUM_ALGORITHMS][256] = {
data/r-cran-openmx-2.18.1/src/glue.cpp:259:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   		char infinCodes[3][20];
data/r-cran-openmx-2.18.1/src/glue.cpp:260:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
   		strcpy(infinCodes[0], "(-INF, upper]");
data/r-cran-openmx-2.18.1/src/glue.cpp:261:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
   		strcpy(infinCodes[1], "[lower, INF)");
data/r-cran-openmx-2.18.1/src/glue.cpp:262:6:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
   		strcpy(infinCodes[2], "[lower, upper]");
data/r-cran-openmx-2.18.1/src/glue.cpp:364:33:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	} else if (isdigit(str[0]) && (atoi(str) == 1 || atoi(str) == 0)) {
data/r-cran-openmx-2.18.1/src/glue.cpp:364:51:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	} else if (isdigit(str[0]) && (atoi(str) == 1 || atoi(str) == 0)) {
data/r-cran-openmx-2.18.1/src/glue.cpp:366: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).
		newVal = atoi(str);
data/r-cran-openmx-2.18.1/src/glue.cpp:394: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).
				*numThreads = atoi(nextOptionValue);
data/r-cran-openmx-2.18.1/src/glue.cpp:400:30:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				if (ont && *numThreads > atoi(ont)) {
data/r-cran-openmx-2.18.1/src/glue.cpp:413: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).
				Global->maxOrdinalPerBlock = atoi(nextOptionValue);
data/r-cran-openmx-2.18.1/src/glue.cpp:431:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				Global->maxStackDepth = atoi(nextOptionValue);
data/r-cran-openmx-2.18.1/src/glue.cpp:439:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				Global->majorIterations = atoi(nextOptionValue);
data/r-cran-openmx-2.18.1/src/glue.cpp:449: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).
					Global->RAMMaxDepth = atoi(nextOptionValue);
data/r-cran-openmx-2.18.1/src/glue.cpp:713:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(REAL(estimate), fc->est, sizeof(double)*numFree);
data/r-cran-openmx-2.18.1/src/matrix.h:46:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if (origEv) memcpy(origEv, es.eigenvalues().data(), sizeof(double) * mat.rows());
data/r-cran-openmx-2.18.1/src/minicsv.h:122:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				open(file);
data/r-cran-openmx-2.18.1/src/minicsv.h:126:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				open(file);
data/r-cran-openmx-2.18.1/src/minicsv.h:128: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).
			void open(const std::string& file)
data/r-cran-openmx-2.18.1/src/minicsv.h:131:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
					open(file.c_str());
data/r-cran-openmx-2.18.1/src/minicsv.h:133: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).
			void open(const char * file)
data/r-cran-openmx-2.18.1/src/minicsv.h:138:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				istm.open(file, std::ios_base::in);
data/r-cran-openmx-2.18.1/src/minicsv.h:143: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 tt[3] = { 0, 0, 0 };
data/r-cran-openmx-2.18.1/src/minicsv.h:387:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				open(file);
data/r-cran-openmx-2.18.1/src/minicsv.h:391:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				open(file);
data/r-cran-openmx-2.18.1/src/minicsv.h:393: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).
			void open(const std::string& file)
data/r-cran-openmx-2.18.1/src/minicsv.h:396:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
					open(file.c_str());
data/r-cran-openmx-2.18.1/src/minicsv.h:398: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).
			void open(const char * file)
data/r-cran-openmx-2.18.1/src/minicsv.h:402:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
				ostm.open(file, std::ios_base::out);
data/r-cran-openmx-2.18.1/src/omxData.cpp:931:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(dest, source, sizeof(double) * len);
data/r-cran-openmx-2.18.1/src/omxExpectation.cpp:43: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 name[32];
data/r-cran-openmx-2.18.1/src/omxExpectationBA81.cpp:394:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(REAL(Rlik), grp.patternLik.data(), sizeof(double) * numUnique);
data/r-cran-openmx-2.18.1/src/omxExpectationBA81.cpp:415: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(REAL(Rmean), estLatentMean->data, maxAbilities * sizeof(double));
data/r-cran-openmx-2.18.1/src/omxExpectationBA81.cpp:420: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(REAL(Rcov), estLatentCov->data, maxAbilities * maxAbilities * sizeof(double));
data/r-cran-openmx-2.18.1/src/omxExpectationBA81.h:120: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(mean.derived().data(), _latentMeanOut->data, sizeof(double) * dim);
data/r-cran-openmx-2.18.1/src/omxExpectationBA81.h:128: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(cov.derived().data(), _latentCovOut->data, sizeof(double) * dim * dim);
data/r-cran-openmx-2.18.1/src/omxFitFunction.cpp:40: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 name[32];
data/r-cran-openmx-2.18.1/src/omxImportFrontendState.cpp:286: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).
			oC->file = fopen(fullname, "w");
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:160:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(dest->data, orig->data, dest->rows * dest->cols * sizeof(double));
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:525:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(copy, data, rows * cols * sizeof(double));
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:869: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(errstr, "Non-conformable matrices in horizontal concatenation (cbind). First argument has %d rows, and argument #%d has %d rows.", totalRows, j + 1, matList[j]->rows);
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:892:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(result->data + offset, current->data, size * sizeof(double));
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:918: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(errstr, "Non-conformable matrices in vertical concatenation (rbind). First argument has %d cols, and argument #%d has %d cols.", totalCols, j + 1, matList[j]->cols);
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:940:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(result->data + offset, current->data, size * sizeof(double));
data/r-cran-openmx-2.18.1/src/omxMatrix.cpp:972: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(errstr, "Non-square matrix in Trace().\n");
data/r-cran-openmx-2.18.1/src/omxNPSOLSpecific.cpp:418: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 optionCharArray[opBufLen];
data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp:215:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "No data provided to omxRowFitFunction.");
data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp:225:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "No row-wise algebra in omxRowFitFunction.");
data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp:241:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "No row results matrix in omxRowFitFunction.");
data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp:256:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "No existance matrix in omxRowFitFunction.");
data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp:267:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "No row results matrix in omxRowFitFunction.");
data/r-cran-openmx-2.18.1/src/omxRowFitFunction.cpp:277:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(errstr, "No row reduction algebra in omxRowFitFunction.");
data/r-cran-openmx-2.18.1/src/omxState.cpp:675: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 buf1[maxLen];
data/r-cran-openmx-2.18.1/src/omxState.cpp:676: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 buf2[maxLen];
data/r-cran-openmx-2.18.1/src/omxState.cpp:799: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 buf1[maxLen];
data/r-cran-openmx-2.18.1/src/omxState.cpp:864:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(mem, str.c_str(), sz);
data/r-cran-openmx-2.18.1/src/omxState.cpp:1000: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 timeBuf[timeBufSize];
data/r-cran-openmx-2.18.1/src/omxStateSpaceExpectation.cpp:603:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(smallS->data, smallR->data, smallR->rows * smallR->cols * sizeof(double)); // Less safe omxCopyMatrix that keeps smallS aliased to S.
data/r-cran-openmx-2.18.1/src/omxSymbolTable.h:8: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.
	const char opName[32];
data/r-cran-openmx-2.18.1/src/omxSymbolTable.h:9: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.
	const char rName[32];
data/r-cran-openmx-2.18.1/src/options.c:147:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	       memcpy(nopt->lb, opt->lb, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:148:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	       memcpy(nopt->ub, opt->ub, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:149:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	       memcpy(nopt->xtol_abs, opt->xtol_abs, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:157:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	       memcpy(nopt->fc, opt->fc, sizeof(nlopt_constraint) * (opt->m));
data/r-cran-openmx-2.18.1/src/options.c:170: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(nopt->fc[i].tol, opt->fc[i].tol,
data/r-cran-openmx-2.18.1/src/options.c:180:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	       memcpy(nopt->h, opt->h, sizeof(nlopt_constraint) * (opt->p));
data/r-cran-openmx-2.18.1/src/options.c:193: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(nopt->h[i].tol, opt->h[i].tol,
data/r-cran-openmx-2.18.1/src/options.c:206:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	       memcpy(nopt->dx, opt->dx, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:269:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(opt->lb, lb, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:291:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(lb, opt->lb, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:301:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(opt->ub, ub, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:323:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(ub, opt->ub, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:374:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(tolcopy, tol, sizeof(double) * fm);
data/r-cran-openmx-2.18.1/src/options.c:558:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(opt->xtol_abs, xtol_abs, opt->n * sizeof(double));
data/r-cran-openmx-2.18.1/src/options.c:579:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(xtol_abs, opt->xtol_abs, opt->n * sizeof(double));
data/r-cran-openmx-2.18.1/src/options.c:667:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
     memcpy(opt->dx, dx, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:681:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(dx, o->dx, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/options.c:685:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(dx, opt->dx, sizeof(double) * (opt->n));
data/r-cran-openmx-2.18.1/src/slsqp.c:54:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(dy, dx, sizeof(double) * ((unsigned) n));
data/r-cran-openmx-2.18.1/src/slsqp.c:2463:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(par, x, sizeof(double) * n);
data/r-cran-openmx-2.18.1/src/slsqp.c:2470:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(x, est->par, sizeof(double)*est->n);
data/r-cran-openmx-2.18.1/src/slsqp.c:2477:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(to->par, from->par, sizeof(double)*to->n);
data/r-cran-openmx-2.18.1/src/slsqp.c:2711:30:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	wkspc->realwkspc = (double*)memcpy(wkspc->realwkspc, work, ((w+len_w)-work)*sizeof(double));
data/r-cran-openmx-2.18.1/src/Compute.cpp:4792: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(sepStr) != 1) mxThrow("%s: sep must be a single character, not '%s'", name, sepStr);
data/r-cran-openmx-2.18.1/src/asa.c:6284:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy (exit_msg, "");
data/r-cran-openmx-2.18.1/src/minicsv.h:145:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				istm.read(tt, sizeof(tt));
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:478:56:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	bool compareDataPart(bool part, int la, int ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:510:63:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	bool compareMissingnessPart(bool part, int la, int ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:527:70:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	bool compareMissingnessAndDataPart(bool part, int la, int ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:529:50:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		int got = compareMissingnessPart(part, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:530:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:531:39:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		got = compareDataPart(part, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:532:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:536:41:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	bool compareData(int la, int ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:538:44:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		int got = compareDataPart(false, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:539:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:540:40:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		return compareDataPart(true, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:543:48:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	bool compareMissingness(int la, int ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:545:51:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		int got = compareMissingnessPart(false, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:546:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:547:47:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		return compareMissingnessPart(true, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:550:47:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	bool compareAllDefVars(int la, int ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:568:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool mismatch;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:569:40:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool got = compareAllDefVars(la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:570:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:572:48:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareMissingnessPart(false, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:573:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:574:47:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareMissingnessPart(true, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:575:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:576:40:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareDataPart(false,la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:577:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:578:39:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareDataPart(true,la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:579:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:581:48:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareMissingnessPart(false, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:582:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:583:40:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareDataPart(false,la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:584:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:585:47:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareMissingnessPart(true, la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:586:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:587:39:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareDataPart(true,la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxFIMLFitFunction.cpp:588:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxNPSOLSpecific.cpp:434: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).
        F77_CALL(npoptn)(optionCharArray, strlen(optionCharArray));
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1019:71:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool compareMissingnessAndCov(const addr &la, const addr &ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1022:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return la.getExpNum() < ra.getExpNum();
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1025:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return la.numVars() < ra.numVars();
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1033:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return lmp.size() < rmp.size();
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1037:10:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (!mismatch) continue;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1042:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return la.rampartScale < ra.rampartScale;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1044:41:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			bool got = compareCovDefVars(la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1045:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1050:58:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool cmpCovClump(const addr &la, const addr &ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1054:43:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			got = compareMissingnessAndCov(la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1055:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1060:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return lhss.clump.size() < rhss.clump.size();
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1064:37:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
						   st.layout[rhss.clump[cx]], mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1065:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1071:64:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool compareCovDefVars(const addr &la, const addr &ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1090:65:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool compareMeanDefVars(const addr &la, const addr &ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1117:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			bool mismatch;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1121:49:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				bool got = compareMissingnessAndCov(la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1122:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1148:62:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		bool compareMeanDeep(const addr &la, const addr &ra, bool &mismatch) const
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1159:42:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				bool got = compareMeanDeep(*lp, *rp, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1160:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1163:42:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			bool got = compareMeanDefVars(la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1164:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1174:10:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				bool mismatch;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1175:40:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				bool got = compareMeanDeep(la, ra, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1176:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
				if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1191:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return lhss->fk1 < rhss->fk1;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1193:35:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			return cmpCovClump(*lhs, *rhs, mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1201:9:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			bool mismatch;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1202:59:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			bool got = cmpCovClump(st.layout[lhs], st.layout[rhs], mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1203:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) return got;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1642:59:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			cmp.compareMeanDeep(layout[ t1[0] ], layout[ t1[cx] ], mismatch);
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1643:8:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			if (mismatch) break;
data/r-cran-openmx-2.18.1/src/omxRAMExpectation.cpp:1646:7:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		if (mismatch) {
data/r-cran-openmx-2.18.1/src/stop.c:141:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t len = strlen(format) + 128;

ANALYSIS SUMMARY:

Hits = 541
Lines analyzed = 60499 in approximately 1.68 seconds (35965 lines/second)
Physical Source Lines of Code (SLOC) = 48803
Hits@level = [0] 424 [1]  75 [2] 397 [3]   1 [4]  68 [5]   0
Hits@level+ = [0+] 965 [1+] 541 [2+] 466 [3+]  69 [4+]  68 [5+]   0
Hits/KSLOC@level+ = [0+] 19.7734 [1+] 11.0854 [2+] 9.54859 [3+] 1.41385 [4+] 1.39336 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.