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/fizmo-sdl2-0.8.5/src/locales/fizmo_sdl2_locales.h
Examining data/fizmo-sdl2-0.8.5/src/locales/fizmo_sdl2_locales.c
Examining data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c

FINAL RESULTS:

data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:161: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 output_char_buf[SDL_OUTPUT_CHAR_BUF_SIZE];
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:1069:7:  [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(dstp, srcp, width*4);
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:1081:7:  [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(dstp, srcp, width*4);
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:1445:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int_value = atoi(argv[argi]);
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:1470:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int_value = atoi(argv[argi]);
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:1492:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int_value = atoi(argv[argi]);
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:1558:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int_value = atoi(argv[argi]);
data/fizmo-sdl2-0.8.5/src/fizmo-sdl2/fizmo-sdl2.c:490:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ( (value == NULL) || (strlen(value) == 0) )

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 2085 in approximately 0.07 seconds (28102 lines/second)
Physical Source Lines of Code (SLOC) = 1483
Hits@level = [0]   0 [1]   1 [2]   7 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   8 [1+]   8 [2+]   7 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 5.39447 [1+] 5.39447 [2+] 4.72016 [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.