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/spice-protocol-0.14.1/spice/stats.h
Examining data/spice-protocol-0.14.1/spice/types.h
Examining data/spice-protocol-0.14.1/spice/macros.h
Examining data/spice-protocol-0.14.1/spice/start-packed.h
Examining data/spice-protocol-0.14.1/spice/vd_agent.h
Examining data/spice-protocol-0.14.1/spice/qxl_dev.h
Examining data/spice-protocol-0.14.1/spice/qxl_windows.h
Examining data/spice-protocol-0.14.1/spice/end-packed.h
Examining data/spice-protocol-0.14.1/spice/protocol.h
Examining data/spice-protocol-0.14.1/spice/barrier.h
Examining data/spice-protocol-0.14.1/spice/stream-device.h
Examining data/spice-protocol-0.14.1/spice/ipc_ring.h
Examining data/spice-protocol-0.14.1/spice/controller_prot.h
Examining data/spice-protocol-0.14.1/spice/foreign_menu_prot.h
Examining data/spice-protocol-0.14.1/spice/enums.h

FINAL RESULTS:

data/spice-protocol-0.14.1/spice/stats.h:56:5:  [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 name[SPICE_STAT_NODE_NAME_MAX];

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 3169 in approximately 0.07 seconds (43756 lines/second)
Physical Source Lines of Code (SLOC) = 2014
Hits@level = [0]   0 [1]   0 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.496524 [1+] 0.496524 [2+] 0.496524 [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.