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/thunarx-python-0.5.1/src/thunarx-python-object.c Examining data/thunarx-python-0.5.1/src/thunarx-python-object.h Examining data/thunarx-python-0.5.1/src/thunarx-python.c Examining data/thunarx-python-0.5.1/src/thunarx-python.h FINAL RESULTS: data/thunarx-python-0.5.1/src/thunarx-python.c:204:19: [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). len = strlen(name) - 3; data/thunarx-python-0.5.1/src/thunarx-python.c:206:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(modulename, name, len); data/thunarx-python-0.5.1/src/thunarx-python.c:276:18: [1] (buffer) mismatch: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. const gchar *mismatch; data/thunarx-python-0.5.1/src/thunarx-python.c:291:21: [1] (buffer) mismatch: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (G_UNLIKELY (mismatch != NULL)) { data/thunarx-python-0.5.1/src/thunarx-python.c:292:44: [1] (buffer) mismatch: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. g_warning ("Version mismatch: %s", mismatch); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 945 in approximately 0.06 seconds (17178 lines/second) Physical Source Lines of Code (SLOC) = 654 Hits@level = [0] 0 [1] 5 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 5 [1+] 5 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 7.64526 [1+] 7.64526 [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.