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/pgextwlist-1.11/pgextwlist.c
Examining data/pgextwlist-1.11/pgextwlist.h
Examining data/pgextwlist-1.11/utils.c
Examining data/pgextwlist-1.11/utils.h

FINAL RESULTS:

data/pgextwlist-1.11/pgextwlist.c:244:6:  [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.
	if (access(specific_custom_script, F_OK) == 0)
data/pgextwlist-1.11/pgextwlist.c:247:11:  [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.
	else if (access(generic_custom_script, F_OK) == 0)
data/pgextwlist-1.11/utils.c:75:2:  [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		sharepath[MAXPGPATH];
data/pgextwlist-1.11/utils.c:362:3:  [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(dest_str, src_str, len);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 1161 in approximately 0.03 seconds (34118 lines/second)
Physical Source Lines of Code (SLOC) = 773
Hits@level = [0]   5 [1]   0 [2]   2 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]   9 [1+]   4 [2+]   4 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 11.6429 [1+] 5.17464 [2+] 5.17464 [3+] 2.58732 [4+] 2.58732 [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.