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/libtext-mecab-perl-0.20016/xs/text-mecab-clone.c Examining data/libtext-mecab-perl-0.20016/xs/text-mecab-node.c Examining data/libtext-mecab-perl-0.20016/xs/text-mecab.c Examining data/libtext-mecab-perl-0.20016/xs/text-mecab.h FINAL RESULTS: data/libtext-mecab-perl-0.20016/xs/text-mecab-node.c:209:41: [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). Newz(1234, cloned->actual->feature, strlen(node->feature), char); data/libtext-mecab-perl-0.20016/xs/text-mecab-node.c:210:50: [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). Copy(node->feature, cloned->actual->feature, strlen(node->feature), char); data/libtext-mecab-perl-0.20016/xs/text-mecab.c:59: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). int len = strlen(argv[i]) + 1; ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 717 in approximately 0.04 seconds (20137 lines/second) Physical Source Lines of Code (SLOC) = 579 Hits@level = [0] 0 [1] 3 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 5.18135 [1+] 5.18135 [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.