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/naspro-bridges-0.5.1/dssi/pluglib.c Examining data/naspro-bridges-0.5.1/dssi/bridge.c Examining data/naspro-bridges-0.5.1/dssi/lv2api.c Examining data/naspro-bridges-0.5.1/dssi/manifest.c Examining data/naspro-bridges-0.5.1/dssi/plugin.h Examining data/naspro-bridges-0.5.1/dssi/internal.h Examining data/naspro-bridges-0.5.1/dssi/pluglib.h Examining data/naspro-bridges-0.5.1/dssi/plugin.c Examining data/naspro-bridges-0.5.1/dssi/bridge.h Examining data/naspro-bridges-0.5.1/dssi/lv2api.h Examining data/naspro-bridges-0.5.1/ladspa/pluglib.c Examining data/naspro-bridges-0.5.1/ladspa/bridge.c Examining data/naspro-bridges-0.5.1/ladspa/lv2api.c Examining data/naspro-bridges-0.5.1/ladspa/manifest.c Examining data/naspro-bridges-0.5.1/ladspa/plugin.h Examining data/naspro-bridges-0.5.1/ladspa/internal.h Examining data/naspro-bridges-0.5.1/ladspa/pluglib.h Examining data/naspro-bridges-0.5.1/ladspa/plugin.c Examining data/naspro-bridges-0.5.1/ladspa/bridge.h Examining data/naspro-bridges-0.5.1/ladspa/lv2api.h FINAL RESULTS: data/naspro-bridges-0.5.1/dssi/bridge.c:83:3: [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 dir[B_PATH_NAME_LENGTH + 1]; data/naspro-bridges-0.5.1/ladspa/bridge.c:95:3: [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 dir[B_PATH_NAME_LENGTH + 1]; data/naspro-bridges-0.5.1/dssi/plugin.c:55:12: [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). sep_len = strlen(nacore_fs_dir_sep); data/naspro-bridges-0.5.1/dssi/plugin.c:63:13: [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). (int)(strlen(basename) - sizeof(MODULE_EXT) + 1), ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 1736 in approximately 0.05 seconds (35452 lines/second) Physical Source Lines of Code (SLOC) = 1270 Hits@level = [0] 0 [1] 2 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 4 [1+] 4 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.14961 [1+] 3.14961 [2+] 1.5748 [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.