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/pinpoint-0.1.8/gst-video-thumbnailer.c Examining data/pinpoint-0.1.8/gst-video-thumbnailer.h Examining data/pinpoint-0.1.8/pinpoint.c Examining data/pinpoint-0.1.8/pinpoint.h Examining data/pinpoint-0.1.8/pp-cairo.c Examining data/pinpoint-0.1.8/pp-super-aa.c Examining data/pinpoint-0.1.8/pp-super-aa.h Examining data/pinpoint-0.1.8/pp-clutter.c FINAL RESULTS: data/pinpoint-0.1.8/pp-clutter.c:1581:7: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system (tmp); data/pinpoint-0.1.8/pinpoint.c:491:17: [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). #define INT atoi (strchr (setting, '=') + 1) data/pinpoint-0.1.8/pinpoint.c:890:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy (point, &default_point, data/pinpoint-0.1.8/pp-cairo.c:196:10: [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). fp = fopen (file, "rb"); data/pinpoint-0.1.8/pinpoint.c:931: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). while ( slide_str->str[strlen(slide_str->str)-1]=='\n') data/pinpoint-0.1.8/pinpoint.c:932:40: [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). slide_str->str[strlen(slide_str->str)-1]='\0'; ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 4592 in approximately 0.10 seconds (43766 lines/second) Physical Source Lines of Code (SLOC) = 3680 Hits@level = [0] 5 [1] 2 [2] 3 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 11 [1+] 6 [2+] 4 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 2.98913 [1+] 1.63043 [2+] 1.08696 [3+] 0.271739 [4+] 0.271739 [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.