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/tali-3.38.0/src/computer.c
Examining data/tali-3.38.0/src/games-frame.h
Examining data/tali-3.38.0/src/setup.c
Examining data/tali-3.38.0/src/games-frame.c
Examining data/tali-3.38.0/src/clist.c
Examining data/tali-3.38.0/src/yahtzee.c
Examining data/tali-3.38.0/src/gyahtzee.c
Examining data/tali-3.38.0/src/yahtzee.h
Examining data/tali-3.38.0/src/gyahtzee.h

FINAL RESULTS:

data/tali-3.38.0/src/yahtzee.c:157:3:  [3] (random) srand:
  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.
  srand (time (NULL));
data/tali-3.38.0/src/clist.c:412:13:  [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 (row_tooltips[ii], _("Score: %d"), score);
data/tali-3.38.0/src/clist.c:414:13:  [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 (row_tooltips[ii], _("Field used"));
data/tali-3.38.0/src/computer.c:185:11:  [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 (DiceValues, loc_info, sizeof (sav_DiceValues));
data/tali-3.38.0/src/computer.c:210: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 (DiceValues, sav_DiceValues, sizeof (sav_DiceValues));
data/tali-3.38.0/src/gyahtzee.c:62:8:  [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.
static char *dicefiles[NUMBER_OF_PIXMAPS] = { "gnome-dice-1.svg",
data/tali-3.38.0/src/gyahtzee.c:71:8:  [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.
static char *kdicefiles[NUMBER_OF_PIXMAPS] = { "kismet1.svg",
data/tali-3.38.0/src/gyahtzee.c:596:3:  [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[200];
data/tali-3.38.0/src/yahtzee.c:68:1:  [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 *DefaultPlayerNames[MAX_NUMBER_OF_PLAYERS] = { N_("Human"),
data/tali-3.38.0/src/yahtzee.c:83:1:  [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 *FieldLabelsYahtzee[NUM_FIELDS_YAHTZEE + EXTRA_FIELDS] = {
data/tali-3.38.0/src/yahtzee.c:106:1:  [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 *FieldLabelsKismet[NUM_FIELDS_KISMET+EXTRA_FIELDS] =
data/tali-3.38.0/src/yahtzee.h:88:8:  [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.
extern char *DefaultPlayerNames[MAX_NUMBER_OF_PLAYERS];

ANALYSIS SUMMARY:

Hits = 12
Lines analyzed = 3292 in approximately 0.09 seconds (37010 lines/second)
Physical Source Lines of Code (SLOC) = 2405
Hits@level = [0]  10 [1]   0 [2]  11 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]  22 [1+]  12 [2+]  12 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 9.14761 [1+] 4.9896 [2+] 4.9896 [3+] 0.4158 [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.