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/libaudio-flac-decoder-perl-0.3+dfsg/dither.c Examining data/libaudio-flac-decoder-perl-0.3+dfsg/replaygain_synthesis.c Examining data/libaudio-flac-decoder-perl-0.3+dfsg/include/common.h Examining data/libaudio-flac-decoder-perl-0.3+dfsg/include/dither.h Examining data/libaudio-flac-decoder-perl-0.3+dfsg/include/replaygain_synthesis.h FINAL RESULTS: data/libaudio-flac-decoder-perl-0.3+dfsg/dither.c:41:14: [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. FLAC__int32 random; data/libaudio-flac-decoder-perl-0.3+dfsg/dither.c:49:28: [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. FLAC__int32 output, mask, random; data/libaudio-flac-decoder-perl-0.3+dfsg/dither.c:68:37: [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. random = (FLAC__int32)prng(dither->random); data/libaudio-flac-decoder-perl-0.3+dfsg/dither.c:69:13: [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. output += (random & mask) - (dither->random & mask); data/libaudio-flac-decoder-perl-0.3+dfsg/dither.c:69:39: [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. output += (random & mask) - (dither->random & mask); data/libaudio-flac-decoder-perl-0.3+dfsg/dither.c:71:19: [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. dither->random = random; data/libaudio-flac-decoder-perl-0.3+dfsg/replaygain_synthesis.c:78:24: [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 unsigned char parity_[256] = { ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 762 in approximately 0.10 seconds (7506 lines/second) Physical Source Lines of Code (SLOC) = 481 Hits@level = [0] 0 [1] 0 [2] 1 [3] 6 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 7 [2+] 7 [3+] 6 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 14.553 [1+] 14.553 [2+] 14.553 [3+] 12.474 [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.