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/libvolatilestream-0.2/volatilestream.c
Examining data/libvolatilestream-0.2/volatilestream.h

FINAL RESULTS:

data/libvolatilestream-0.2/volatilestream.c:41: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(buf, vols->buf + vols->filepos, ret_value);
data/libvolatilestream-0.2/volatilestream.c:82: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(vols->buf + vols->filepos, buf, ret_value);
data/libvolatilestream-0.2/volatilestream.c:197:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getc(f)) != EOF)
data/libvolatilestream-0.2/volatilestream.c:221:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getc(f)) != EOF)
data/libvolatilestream-0.2/volatilestream.h:21:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((c = getc(f)) != EOF)

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 263 in approximately 0.01 seconds (17587 lines/second)
Physical Source Lines of Code (SLOC) = 216
Hits@level = [0]   6 [1]   3 [2]   2 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  11 [1+]   5 [2+]   2 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 50.9259 [1+] 23.1481 [2+] 9.25926 [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.