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/fcitx-hangul-0.3.1/list/gen_list.c Examining data/fcitx-hangul-0.3.1/src/config.c Examining data/fcitx-hangul-0.3.1/src/eim.c Examining data/fcitx-hangul-0.3.1/src/eim.h Examining data/fcitx-hangul-0.3.1/src/keyboard.c Examining data/fcitx-hangul-0.3.1/src/keyboard.h Examining data/fcitx-hangul-0.3.1/src/ustring.c Examining data/fcitx-hangul-0.3.1/src/ustring.h FINAL RESULTS: data/fcitx-hangul-0.3.1/src/eim.c:381:23: [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). size_t len1 = strlen(pre1); data/fcitx-hangul-0.3.1/src/eim.c:389:23: [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). size_t len2 = strlen(pre2); data/fcitx-hangul-0.3.1/src/eim.c:460: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). limit = strlen(str) + 1; ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 1228 in approximately 0.09 seconds (14178 lines/second) Physical Source Lines of Code (SLOC) = 897 Hits@level = [0] 1 [1] 3 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 4 [1+] 3 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 4.45931 [1+] 3.34448 [2+] 0 [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.