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/xkeyboard-config-2.29/tests/mxkbledpanel/mxkbledpanel.c

FINAL RESULTS:

data/xkeyboard-config-2.29/tests/mxkbledpanel/mxkbledpanel.c:220:6:  [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 temp[12];	
data/xkeyboard-config-2.29/tests/mxkbledpanel/mxkbledpanel.c:221:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(temp,"led%d\0",i+1);
data/xkeyboard-config-2.29/tests/mxkbledpanel/mxkbledpanel.c:487: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 		buf[256];
data/xkeyboard-config-2.29/tests/mxkbledpanel/mxkbledpanel.c:511:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(buf,"led%d\0",i);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 605 in approximately 0.07 seconds (9040 lines/second)
Physical Source Lines of Code (SLOC) = 433
Hits@level = [0]  21 [1]   0 [2]   4 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  25 [1+]   4 [2+]   4 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 57.7367 [1+] 9.23788 [2+] 9.23788 [3+]   0 [4+]   0 [5+]   0
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.