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/policykit-1-gnome-0.105/src/polkitgnomelistener.h Examining data/policykit-1-gnome-0.105/src/polkitgnomeauthenticationdialog.h Examining data/policykit-1-gnome-0.105/src/main.c Examining data/policykit-1-gnome-0.105/src/polkitgnomeauthenticator.h Examining data/policykit-1-gnome-0.105/src/polkitgnomelistener.c Examining data/policykit-1-gnome-0.105/src/polkitgnomeauthenticationdialog.c Examining data/policykit-1-gnome-0.105/src/polkitgnomeauthenticator.c FINAL RESULTS: data/policykit-1-gnome-0.105/src/polkitgnomeauthenticationdialog.c:282:28: [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 (gecos != NULL && strlen (gecos) > 0) data/policykit-1-gnome-0.105/src/polkitgnomeauthenticationdialog.c:289:28: [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 (gecos != NULL && strlen (gecos) > 0 && strcmp (gecos, dialog->priv->users[n]) != 0) data/policykit-1-gnome-0.105/src/polkitgnomeauthenticationdialog.c:373:42: [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 (dialog->priv->icon_name == NULL || strlen (dialog->priv->icon_name) == 0) ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 2224 in approximately 0.07 seconds (32947 lines/second) Physical Source Lines of Code (SLOC) = 1596 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+] 1.8797 [1+] 1.8797 [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.