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/ng-utils-1.0/netgroup.c
Examining data/ng-utils-1.0/innetgr.c

FINAL RESULTS:

data/ng-utils-1.0/innetgr.c:64:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf("innetgr (" PACKAGE ") " VERSION);
data/ng-utils-1.0/netgroup.c:75:3:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  printf("netgroup (" PACKAGE ") " VERSION);
data/ng-utils-1.0/innetgr.c:28:23:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
#  define GETOPT_LONG getopt_long
data/ng-utils-1.0/innetgr.c:41:52:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
#  define GETOPT_LONG(argc,argv,optstr,lopts,lidx) getopt(argc,argv,optstr)
data/ng-utils-1.0/netgroup.c:35:23:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
#  define GETOPT_LONG getopt_long
data/ng-utils-1.0/netgroup.c:47:52:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
#  define GETOPT_LONG(argc,argv,optstr,lopts,lidx) getopt(argc,argv,optstr)
data/ng-utils-1.0/netgroup.c:82:3:  [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 *member[3] = {0,0,0};

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 271 in approximately 0.02 seconds (14257 lines/second)
Physical Source Lines of Code (SLOC) = 218
Hits@level = [0]  12 [1]   0 [2]   1 [3]   4 [4]   2 [5]   0
Hits@level+ = [0+]  19 [1+]   7 [2+]   7 [3+]   6 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 87.156 [1+] 32.1101 [2+] 32.1101 [3+] 27.5229 [4+] 9.17431 [5+]   0
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.