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/globus-xioperf-5.1/globus_i_xioperf_opts.c Examining data/globus-xioperf-5.1/globus_xioperf.c Examining data/globus-xioperf-5.1/globus_i_xioperf.h FINAL RESULTS: data/globus-xioperf-5.1/globus_xioperf.c:50:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(globus_l_xioperf_log_fptr, fmt, ap); data/globus-xioperf-5.1/globus_xioperf.c:103:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tmp_ptr, " %c/s", type); data/globus-xioperf-5.1/globus_xioperf.c:146:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tmp_ptr, " %c", type); data/globus-xioperf-5.1/globus_xioperf.c:340:26: [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). info->fptr = fopen(info->file, "w"); data/globus-xioperf-5.1/globus_xioperf.c:351:26: [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). info->fptr = fopen(info->file, "r"); data/globus-xioperf-5.1/globus_xioperf.c:798:17: [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(&info_copy, info, sizeof(globus_i_xioperf_info_t)); ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 1681 in approximately 0.07 seconds (22586 lines/second) Physical Source Lines of Code (SLOC) = 1458 Hits@level = [0] 20 [1] 0 [2] 5 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 26 [1+] 6 [2+] 6 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 17.8326 [1+] 4.11523 [2+] 4.11523 [3+] 0.685871 [4+] 0.685871 [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.