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-vegan-2.5-6+dfsg/src/goffactor.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/init.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/stepacross.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/vegdist.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/data2hill.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/getF.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c
Examining data/r-cran-vegan-2.5-6+dfsg/src/pnpoly.c

FINAL RESULTS:

data/r-cran-vegan-2.5-6+dfsg/src/getF.c:47: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 jobz[2] = "N";
data/r-cran-vegan-2.5-6+dfsg/src/getF.c:54: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(xwork, x, len * sizeof(double));
data/r-cran-vegan-2.5-6+dfsg/src/getF.c:84: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 jobz[2] = "N", range[2] = "I", uplo[2] = "L";
data/r-cran-vegan-2.5-6+dfsg/src/getF.c:100: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(rx, x, len * sizeof(double));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:867: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(ix, INTEGER(x), N * sizeof(int));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:871: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(iout + i * N, ix, N * sizeof(int));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:900: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(ix, INTEGER(x), N * sizeof(int));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:905: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(iout + i * N, ix, N * sizeof(int));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:931: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(rx, REAL(x), N * sizeof(double));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:935: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(rout + i * N, rx, N * sizeof(double));
data/r-cran-vegan-2.5-6+dfsg/src/nestedness.c:1377: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(iout + i * N, x, N * sizeof(int));

ANALYSIS SUMMARY:

Hits = 11
Lines analyzed = 3317 in approximately 0.14 seconds (23318 lines/second)
Physical Source Lines of Code (SLOC) = 2271
Hits@level = [0]   0 [1]   0 [2]  11 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  11 [1+]  11 [2+]  11 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.84368 [1+] 4.84368 [2+] 4.84368 [3+]   0 [4+]   0 [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.