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/gpsmanshp-1.2.3/gpsmanshp.c Examining data/gpsmanshp-1.2.3/gpstr2shp.c FINAL RESULTS: data/gpsmanshp-1.2.3/gpsmanshp.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 wpname[WPNAMEWD], wpcommt[WPCOMMTWD], wpdate[WPDATEWD]; data/gpsmanshp-1.2.3/gpsmanshp.c:101: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 rtid[RTIDWD], rtcommt[RTCOMMTWD]; data/gpsmanshp-1.2.3/gpsmanshp.c:117: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 trname[TRNAMEWD], trcommt[TRCOMMTWD]; data/gpsmanshp-1.2.3/gpsmanshp.c:415: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 buffer[MAXBUFFER]; data/gpsmanshp-1.2.3/gpstr2shp.c:89: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 wpname[WPNAMEWD], wpcommt[WPCOMMTWD], wpdate[WPDATEWD]; data/gpsmanshp-1.2.3/gpstr2shp.c:98: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 rtid[RTIDWD], rtcommt[RTCOMMTWD]; data/gpsmanshp-1.2.3/gpstr2shp.c:106: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 tpdate[TRDATEWD]; data/gpsmanshp-1.2.3/gpstr2shp.c:114:1: [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 Buffer[256]; data/gpsmanshp-1.2.3/gpstr2shp.c:128:15: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((*p++=getchar()) == '\n') { ANALYSIS SUMMARY: Hits = 9 Lines analyzed = 1500 in approximately 0.06 seconds (23285 lines/second) Physical Source Lines of Code (SLOC) = 1186 Hits@level = [0] 63 [1] 1 [2] 8 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 72 [1+] 9 [2+] 8 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 60.7083 [1+] 7.58853 [2+] 6.74536 [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.