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/hypopg-1.1.4/hypopg.c
Examining data/hypopg-1.1.4/hypopg_index.c
Examining data/hypopg-1.1.4/import/hypopg_import.c
Examining data/hypopg-1.1.4/import/hypopg_import_index.c
Examining data/hypopg-1.1.4/include/hypopg.h
Examining data/hypopg-1.1.4/include/hypopg_import.h
Examining data/hypopg-1.1.4/include/hypopg_import_index.h
Examining data/hypopg-1.1.4/include/hypopg_index.h

FINAL RESULTS:

data/hypopg-1.1.4/hypopg_index.c:1581:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(entry->indexname, oid);
data/hypopg-1.1.4/hypopg_index.c:1567: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		oid[12];		/* store <oid>, oid shouldn't be more than
data/hypopg-1.1.4/hypopg_index.c:1574:14:  [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).
	totalsize = strlen(oid) + strlen(indexname) + 1;
data/hypopg-1.1.4/hypopg_index.c:1574:28:  [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).
	totalsize = strlen(oid) + strlen(indexname) + 1;
data/hypopg-1.1.4/hypopg_index.c:1582:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(entry->indexname, indexname, totalsize - strlen(oid) - 1);
data/hypopg-1.1.4/hypopg_index.c:1582:51:  [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).
	strncat(entry->indexname, indexname, totalsize - strlen(oid) - 1);

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 3052 in approximately 0.12 seconds (26124 lines/second)
Physical Source Lines of Code (SLOC) = 2012
Hits@level = [0]   1 [1]   4 [2]   1 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   7 [1+]   6 [2+]   2 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 3.47913 [1+] 2.98211 [2+] 0.994036 [3+] 0.497018 [4+] 0.497018 [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.