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-cd-perl-0.05/cddb_lookup.c Examining data/libaudio-cd-perl-0.05/cddb_lookup.h FINAL RESULTS: data/libaudio-cd-perl-0.05/cddb_lookup.c:51: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 inbuffer[256]; data/libaudio-cd-perl-0.05/cddb_lookup.c:82:4: [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 http_string[512], discid[CDINDEX_ID_SIZE]; data/libaudio-cd-perl-0.05/cddb_lookup.c:113:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(hello.hello_program, PACKAGE, 256); data/libaudio-cd-perl-0.05/cddb_lookup.c:114:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(hello.hello_version, VERSION, 256); data/libaudio-cd-perl-0.05/cddb_lookup.c:196:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(query.query_list[0].list_artist) > 0) data/libaudio-cd-perl-0.05/cddb_lookup.c:227:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if(strlen(query.query_list[index].list_artist) < 1) ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 296 in approximately 0.05 seconds (6331 lines/second) Physical Source Lines of Code (SLOC) = 227 Hits@level = [0] 20 [1] 4 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 26 [1+] 6 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 114.537 [1+] 26.4317 [2+] 8.81057 [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.