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-emoa-0.5-0.1/src/crowding_distance.c Examining data/r-cran-emoa-0.5-0.1/src/eps_ind.c Examining data/r-cran-emoa-0.5-0.1/src/hv.c Examining data/r-cran-emoa-0.5-0.1/src/front_edge.c Examining data/r-cran-emoa-0.5-0.1/src/r_ind.c Examining data/r-cran-emoa-0.5-0.1/src/sb_crossover.c Examining data/r-cran-emoa-0.5-0.1/src/hv.h Examining data/r-cran-emoa-0.5-0.1/src/avl.h Examining data/r-cran-emoa-0.5-0.1/src/poly_mutation.c Examining data/r-cran-emoa-0.5-0.1/src/dominance.c Examining data/r-cran-emoa-0.5-0.1/src/sexp_macros.h Examining data/r-cran-emoa-0.5-0.1/src/precomputed_weight_vectors.h Examining data/r-cran-emoa-0.5-0.1/src/sympart.c Examining data/r-cran-emoa-0.5-0.1/src/hypervolume.c Examining data/r-cran-emoa-0.5-0.1/src/utilities.h Examining data/r-cran-emoa-0.5-0.1/src/bitstring.h Examining data/r-cran-emoa-0.5-0.1/src/utilities.c Examining data/r-cran-emoa-0.5-0.1/src/cec2009.c Examining data/r-cran-emoa-0.5-0.1/src/avl.c Examining data/r-cran-emoa-0.5-0.1/src/weight_vectors.h FINAL RESULTS: data/r-cran-emoa-0.5-0.1/src/hypervolume.c:112: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(ddata, data, sizeof(double) * k_data * n_data); ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 3898 in approximately 0.23 seconds (16760 lines/second) Physical Source Lines of Code (SLOC) = 2839 Hits@level = [0] 6 [1] 0 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 1 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.46566 [1+] 0.352237 [2+] 0.352237 [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.