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/php-geoip-1.1.1/geoip-1.1.1/geoip.c
Examining data/php-geoip-1.1.1/geoip-1.1.1/php_geoip.h

FINAL RESULTS:

data/php-geoip-1.1.1/geoip-1.1.1/geoip.c:247: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 buf[32];
data/php-geoip-1.1.1/geoip-1.1.1/geoip.c:327:43:  [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.
				add_assoc_string(row, "description", (char *)GeoIPDBDescription[i]);
data/php-geoip-1.1.1/geoip-1.1.1/geoip.c:329:43:  [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.
				add_assoc_string(row, "description", (char *)GeoIPDBDescription[i], 1);
data/php-geoip-1.1.1/geoip-1.1.1/geoip.c:478:17:  [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.
	RETURN_STRING((char *)GeoIP_country_continent[id]);
data/php-geoip-1.1.1/geoip-1.1.1/geoip.c:480:17:  [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.
	RETURN_STRING((char *)GeoIP_country_continent[id], 1);

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 1027 in approximately 0.03 seconds (32523 lines/second)
Physical Source Lines of Code (SLOC) = 767
Hits@level = [0]   1 [1]   0 [2]   5 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   6 [1+]   5 [2+]   5 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 7.82269 [1+] 6.5189 [2+] 6.5189 [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.