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/slgsl-0.7.0/src/gslsf-module.c Examining data/slgsl-0.7.0/src/gslfft-module.c Examining data/slgsl-0.7.0/src/gslrand-module.c Examining data/slgsl-0.7.0/src/gsl-module.c Examining data/slgsl-0.7.0/src/gslconst-module.c Examining data/slgsl-0.7.0/src/gslinterp-module.c Examining data/slgsl-0.7.0/src/gslcore-module.c Examining data/slgsl-0.7.0/src/gslcdf-module.c Examining data/slgsl-0.7.0/src/gslvers.c Examining data/slgsl-0.7.0/src/slgsl.h Examining data/slgsl-0.7.0/src/version.h Examining data/slgsl-0.7.0/src/gslmatrix-module.c Examining data/slgsl-0.7.0/gen/template.c FINAL RESULTS: data/slgsl-0.7.0/src/gslfft-module.c:85: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 ((char *)bt->data, (char *)at->data, at->num_elements * at->sizeof_type); data/slgsl-0.7.0/src/gslmatrix-module.c:184: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 ((char *)m->data, (char *)at->data, nbytes); data/slgsl-0.7.0/src/gslmatrix-module.c:252: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 ((char *)c->data, (char *)at->data, nbytes); data/slgsl-0.7.0/src/gslmatrix-module.c:398: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 ((char *)v->data, (char *)at->data, nbytes); data/slgsl-0.7.0/src/gslmatrix-module.c:464: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 ((char *)v->data, (char *)at->data, nbytes); data/slgsl-0.7.0/src/gslrand-module.c:95:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (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 = (char *) list[i]->name; ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 8555 in approximately 0.19 seconds (43914 lines/second) Physical Source Lines of Code (SLOC) = 6998 Hits@level = [0] 4 [1] 0 [2] 6 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 10 [1+] 6 [2+] 6 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 1.42898 [1+] 0.857388 [2+] 0.857388 [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.