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-xio-popen-driver-4.1/globus_xio_popen_driver.h
Examining data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c

FINAL RESULTS:

data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:67:8:  [4] (shell) popen:
  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.
#ifdef popen
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:68:8:  [4] (shell) popen:
  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.
#undef popen
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:70:23:  [4] (shell) popen:
  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.
GlobusXIODefineModule(popen) =
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:477:14:  [4] (shell) execv:
  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.
        rc = execv(attr->program_name, attr->argv);
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:555:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    rc = access(attr->program_name, R_OK | X_OK);
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:1148:5:  [4] (shell) popen:
  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.
    popen,
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:1170:29:  [4] (shell) popen:
  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.
    GlobusXIORegisterDriver(popen);
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:1189:31:  [4] (shell) popen:
  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.
    GlobusXIOUnRegisterDriver(popen);
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:185:5:  [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(attr, &xio_l_popen_attr_default, sizeof(xio_l_popen_attr_t));
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:221:5:  [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(attr, src_attr, sizeof(xio_l_popen_attr_t));
data/globus-xio-popen-driver-4.1/globus_xio_popen_driver.c:745:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char                            buf[8192];

ANALYSIS SUMMARY:

Hits = 11
Lines analyzed = 1232 in approximately 0.04 seconds (31975 lines/second)
Physical Source Lines of Code (SLOC) = 978
Hits@level = [0]   0 [1]   0 [2]   3 [3]   0 [4]   8 [5]   0
Hits@level+ = [0+]  11 [1+]  11 [2+]  11 [3+]   8 [4+]   8 [5+]   0
Hits/KSLOC@level+ = [0+] 11.2474 [1+] 11.2474 [2+] 11.2474 [3+] 8.17996 [4+] 8.17996 [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.