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/xcb-util-renderutil-0.3.9/renderutil/util.c
Examining data/xcb-util-renderutil-0.3.9/renderutil/xcb_renderutil.h
Examining data/xcb-util-renderutil-0.3.9/renderutil/glyph.c
Examining data/xcb-util-renderutil-0.3.9/renderutil/cache.c

FINAL RESULTS:

data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:120:2:  [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(stream->current, &header, sizeof(header));
data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:123:2:  [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(stream->current, glyphs, header.count);
data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:146:2:  [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(stream->current, &header, sizeof(header));
data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:149:2:  [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(stream->current, glyphs, header.count*sizeof(*glyphs));
data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:172:2:  [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(stream->current, &header, sizeof(header));
data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:175:2:  [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(stream->current, glyphs, header.count*sizeof(*glyphs));
data/xcb-util-renderutil-0.3.9/renderutil/glyph.c:193:2:  [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(stream->current, &header, sizeof(header));

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 932 in approximately 0.03 seconds (29138 lines/second)
Physical Source Lines of Code (SLOC) = 702
Hits@level = [0]   0 [1]   0 [2]   7 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   7 [1+]   7 [2+]   7 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 9.97151 [1+] 9.97151 [2+] 9.97151 [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.