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/xfce4-eyes-plugin-4.5.1/panel-plugin/eyes.c Examining data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.h Examining data/xfce4-eyes-plugin-4.5.1/panel-plugin/eyes.h Examining data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c FINAL RESULTS: data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:103:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). theme_file = fopen (file_name, "r"); data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:48:18: [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 ("wall-thickness")) == 0) data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:50:22: [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). token += strlen ("wall-thickness"); data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:57:46: [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). else if (strncmp (token, "num-eyes", strlen ("num-eyes")) == 0) data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:59:22: [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). token += strlen ("num-eyes"); data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:66:48: [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). else if (strncmp (token, "eye-pixmap", strlen ("eye-pixmap")) == 0) data/xfce4-eyes-plugin-4.5.1/panel-plugin/themes.c:76: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). else if (strncmp (token, "pupil-pixmap", strlen ("pupil-pixmap")) == 0) ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 859 in approximately 0.03 seconds (25183 lines/second) Physical Source Lines of Code (SLOC) = 573 Hits@level = [0] 2 [1] 6 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 9 [1+] 7 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 15.7068 [1+] 12.2164 [2+] 1.7452 [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.