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/kiriki-20.04.3/src/lateralwidget.h
Examining data/kiriki-20.04.3/src/lateralwidget.cpp
Examining data/kiriki-20.04.3/src/itemdelegate.h
Examining data/kiriki-20.04.3/src/computer.h
Examining data/kiriki-20.04.3/src/row.h
Examining data/kiriki-20.04.3/src/kiriki.h
Examining data/kiriki-20.04.3/src/player.cpp
Examining data/kiriki-20.04.3/src/configwidget.h
Examining data/kiriki-20.04.3/src/computer.cpp
Examining data/kiriki-20.04.3/src/diceswidget.cpp
Examining data/kiriki-20.04.3/src/scores.h
Examining data/kiriki-20.04.3/src/scores.cpp
Examining data/kiriki-20.04.3/src/diceswidget.h
Examining data/kiriki-20.04.3/src/main.cpp
Examining data/kiriki-20.04.3/src/row.cpp
Examining data/kiriki-20.04.3/src/itemdelegate.cpp
Examining data/kiriki-20.04.3/src/kiriki.cpp
Examining data/kiriki-20.04.3/src/player.h
Examining data/kiriki-20.04.3/src/configwidget.cpp

FINAL RESULTS:

data/kiriki-20.04.3/src/diceswidget.cpp:219:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			m_dice[i] = 1 + (int)(6.0 * KRandom::random() / (RAND_MAX + 1.0));
data/kiriki-20.04.3/src/computer.cpp:96: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 rerolls[5];

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 2675 in approximately 0.41 seconds (6519 lines/second)
Physical Source Lines of Code (SLOC) = 1930
Hits@level = [0]   0 [1]   0 [2]   1 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   2 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 1.03627 [1+] 1.03627 [2+] 1.03627 [3+] 0.518135 [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.