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/libapache2-mod-authnz-pam-1.2.1/mod_authnz_pam.c

FINAL RESULTS:

data/libapache2-mod-authnz-pam-1.2.1/mod_authnz_pam.c:159:11:  [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.
	unsigned char salt[16];
data/libapache2-mod-authnz-pam-1.2.1/mod_authnz_pam.c:160: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 hash[61];
data/libapache2-mod-authnz-pam-1.2.1/mod_authnz_pam.c:85:37:  [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).
	char * copy = apr_palloc(pool, 3 * strlen(buffer) + 1);
data/libapache2-mod-authnz-pam-1.2.1/mod_authnz_pam.c:292:23:  [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).
			if (pam_service && strlen(pam_service)) {

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 332 in approximately 0.06 seconds (5169 lines/second)
Physical Source Lines of Code (SLOC) = 288
Hits@level = [0]   1 [1]   2 [2]   2 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   5 [1+]   4 [2+]   2 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 17.3611 [1+] 13.8889 [2+] 6.94444 [3+]   0 [4+]   0 [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.