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/elementary-xfce-0.15.1/svgtopng/svgtopng.c FINAL RESULTS: data/elementary-xfce-0.15.1/svgtopng/svgtopng.c:58:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). icon_size = atoi (basename); data/elementary-xfce-0.15.1/svgtopng/svgtopng.c:66:25: [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). tmp = g_strndup (src, strlen (src) - 3); data/elementary-xfce-0.15.1/svgtopng/svgtopng.c:78:38: [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). tmp = g_strndup (link, strlen (link) - 3); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 135 in approximately 1.75 seconds (77 lines/second) Physical Source Lines of Code (SLOC) = 94 Hits@level = [0] 0 [1] 2 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 3 [1+] 3 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 31.9149 [1+] 31.9149 [2+] 10.6383 [3+] 0 [4+] 0 [5+] 0 Symlinks skipped = 9 (--allowlink overrides but see doc for security issue) 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.