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/swh-lv2-1.0.16+git20160519~repack0/util/pitchscale.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/buffer.c Examining data/swh-lv2-1.0.16+git20160519~repack0/util/blo.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/waveguide_nl.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/iir.c Examining data/swh-lv2-1.0.16+git20160519~repack0/util/rms.c Examining data/swh-lv2-1.0.16+git20160519~repack0/util/iir.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/pitchscale.c Examining data/swh-lv2-1.0.16+git20160519~repack0/util/biquad.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/buffer.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/db.c Examining data/swh-lv2-1.0.16+git20160519~repack0/util/blo.c Examining data/swh-lv2-1.0.16+git20160519~repack0/util/rms.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/ls_filter.h Examining data/swh-lv2-1.0.16+git20160519~repack0/util/db.h Examining data/swh-lv2-1.0.16+git20160519~repack0/gverb/gverb-test.c Examining data/swh-lv2-1.0.16+git20160519~repack0/gverb/gverbdsp.c Examining data/swh-lv2-1.0.16+git20160519~repack0/gverb/gverb.h Examining data/swh-lv2-1.0.16+git20160519~repack0/gverb/gverb.c Examining data/swh-lv2-1.0.16+git20160519~repack0/gverb/gverbdsp.h Examining data/swh-lv2-1.0.16+git20160519~repack0/include/lv2.h Examining data/swh-lv2-1.0.16+git20160519~repack0/include/ladspa-util.h FINAL RESULTS: data/swh-lv2-1.0.16+git20160519~repack0/gverb/gverb-test.c:75:7: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. if (random() > RAND_MAX / 5) { data/swh-lv2-1.0.16+git20160519~repack0/util/blo.c:49: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 shm_path[128]; data/swh-lv2-1.0.16+git20160519~repack0/util/iir.h:145: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(outdata, indata, numSampsToProcess*sizeof(float)); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 3342 in approximately 0.12 seconds (28872 lines/second) Physical Source Lines of Code (SLOC) = 2069 Hits@level = [0] 4 [1] 0 [2] 2 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 3 [2+] 3 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.38328 [1+] 1.44998 [2+] 1.44998 [3+] 0.483325 [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.