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/gtkspell3-3.0.10/gtkspell/gtkspell.h Examining data/gtkspell3-3.0.10/gtkspell/gtkspell-codetable.c Examining data/gtkspell3-3.0.10/gtkspell/gtkspell-win32.h Examining data/gtkspell3-3.0.10/gtkspell/gtkspell-codetable.h Examining data/gtkspell3-3.0.10/gtkspell/gtkspell-win32.c Examining data/gtkspell3-3.0.10/gtkspell/gtkspell.c Examining data/gtkspell3-3.0.10/examples/simple-vala.c Examining data/gtkspell3-3.0.10/examples/simple.c Examining data/gtkspell3-3.0.10/examples/advanced.c FINAL RESULTS: data/gtkspell3-3.0.10/gtkspell/gtkspell.c:140:55: [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). enchant_dict_check (spell->priv->speller, text, strlen (text)) != 0) data/gtkspell3-3.0.10/gtkspell/gtkspell.c:356:49: [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). enchant_dict_add (spell->priv->speller, word, strlen (word)); data/gtkspell3-3.0.10/gtkspell/gtkspell.c:372:60: [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). enchant_dict_add_to_session (spell->priv->speller, word, strlen (word)); data/gtkspell3-3.0.10/gtkspell/gtkspell.c:404:44: [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). oldword, strlen (oldword), data/gtkspell3-3.0.10/gtkspell/gtkspell.c:405:44: [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). newword, strlen (newword)); data/gtkspell3-3.0.10/gtkspell/gtkspell.c:427:39: [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). strlen (word), &n_suggs); data/gtkspell3-3.0.10/gtkspell/gtkspell.c:562:15: [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). if (strlen (country_name) != 0) data/gtkspell3-3.0.10/gtkspell/gtkspell.c:1158:7: [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). if (strlen (country_name) != 0) data/gtkspell3-3.0.10/gtkspell/gtkspell.c:1212:55: [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). enchant_dict_check (spell->priv->speller, word, strlen (word)) == 0) data/gtkspell3-3.0.10/gtkspell/gtkspell.c:1249:49: [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). enchant_dict_add (spell->priv->speller, word, strlen (word)); data/gtkspell3-3.0.10/gtkspell/gtkspell.c:1265:60: [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). enchant_dict_add_to_session (spell->priv->speller, word, strlen (word)); data/gtkspell3-3.0.10/gtkspell/gtkspell.c:1288:39: [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). strlen (word), &n_suggs); ANALYSIS SUMMARY: Hits = 12 Lines analyzed = 2335 in approximately 0.14 seconds (16560 lines/second) Physical Source Lines of Code (SLOC) = 1571 Hits@level = [0] 0 [1] 12 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 12 [1+] 12 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 7.63845 [1+] 7.63845 [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.