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/icu-ext-1.6.1/icu_break.c Examining data/icu-ext-1.6.1/icu_ext.c Examining data/icu-ext-1.6.1/icu_ext.h Examining data/icu-ext-1.6.1/icu_normalize.c Examining data/icu-ext-1.6.1/icu_num.c Examining data/icu-ext-1.6.1/icu_search.c Examining data/icu-ext-1.6.1/icu_spoof.c Examining data/icu-ext-1.6.1/icu_transform.c FINAL RESULTS: data/icu-ext-1.6.1/icu_break.c:92: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(ctxt->source_text, VARDATA_ANY(txt), ctxt->len); data/icu-ext-1.6.1/icu_ext.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 buf[U_MAX_VERSION_STRING_LENGTH+1]; data/icu-ext-1.6.1/icu_ext.c:63: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 buf[U_MAX_VERSION_STRING_LENGTH+1]; data/icu-ext-1.6.1/icu_ext.c:289: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 buf[U_MAX_VERSION_STRING_LENGTH+1]; data/icu-ext-1.6.1/icu_ext.c:472: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 buf[1024]; data/icu-ext-1.6.1/icu_ext.c:750: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 local_buf[80]; data/icu-ext-1.6.1/icu_transform.c:130:2: [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(original, utext, (ulen+1)*sizeof(UChar)); data/icu-ext-1.6.1/icu_transform.c:169:5: [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(utext, original, (ulen+1)*sizeof(UChar)); data/icu-ext-1.6.1/icu_transform.c:106:47: [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). in_ulen = icu_to_uchar(&trans_id, input_id, strlen(input_id)); ANALYSIS SUMMARY: Hits = 9 Lines analyzed = 1930 in approximately 0.58 seconds (3342 lines/second) Physical Source Lines of Code (SLOC) = 1360 Hits@level = [0] 0 [1] 1 [2] 8 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 9 [1+] 9 [2+] 8 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 6.61765 [1+] 6.61765 [2+] 5.88235 [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.