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/ebumeter-0.4.2/source/dither.cc
Examining data/ebumeter-0.4.2/source/jclient.h
Examining data/ebumeter-0.4.2/source/jclient.cc
Examining data/ebumeter-0.4.2/source/global.h
Examining data/ebumeter-0.4.2/source/audiofile.cc
Examining data/ebumeter-0.4.2/source/guiclass.cc
Examining data/ebumeter-0.4.2/source/mainwin.cc
Examining data/ebumeter-0.4.2/source/button.cc
Examining data/ebumeter-0.4.2/source/ebur128.cc
Examining data/ebumeter-0.4.2/source/peak_proc.cc
Examining data/ebumeter-0.4.2/source/ebu_r128_proc.h
Examining data/ebumeter-0.4.2/source/ebu_r128_disp.h
Examining data/ebumeter-0.4.2/source/guiclass.h
Examining data/ebumeter-0.4.2/source/styles.h
Examining data/ebumeter-0.4.2/source/button.h
Examining data/ebumeter-0.4.2/source/png2img.h
Examining data/ebumeter-0.4.2/source/audiofile.h
Examining data/ebumeter-0.4.2/source/mainwin.h
Examining data/ebumeter-0.4.2/source/styles.cc
Examining data/ebumeter-0.4.2/source/dither.h
Examining data/ebumeter-0.4.2/source/peak_proc.h
Examining data/ebumeter-0.4.2/source/ebu_r128_proc.cc
Examining data/ebumeter-0.4.2/source/png2img.cc
Examining data/ebumeter-0.4.2/source/ebu_r128_disp.cc
Examining data/ebumeter-0.4.2/source/ebumeter.cc

FINAL RESULTS:

data/ebumeter-0.4.2/source/mainwin.cc:45:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (s, "%s - %s  [%s]", PROGNAME, VERSION, jclient->jname ());
data/ebumeter-0.4.2/source/ebur128.cc:70:17:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((k = getopt_long (ac, av, "", options, 0)) != -1)
data/ebumeter-0.4.2/source/ebu_r128_disp.cc:50: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   s [1024];
data/ebumeter-0.4.2/source/ebu_r128_disp.cc:405: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 s [32];
data/ebumeter-0.4.2/source/ebu_r128_disp.cc:415:12:  [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.
	if (_abs) sprintf (s, "I : %5.1lf LUFS", _vi);
data/ebumeter-0.4.2/source/ebu_r128_disp.cc:416:12:  [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.
	else      sprintf (s, "I : %5.1lf LU", _vi + 23);
data/ebumeter-0.4.2/source/ebu_r128_disp.cc:432: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 s [32];
data/ebumeter-0.4.2/source/ebu_r128_disp.cc:442:9:  [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 (s, "LRA : %5.1lf LU", _v1 - _v0);
data/ebumeter-0.4.2/source/ebumeter.cc:33:13:  [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.
#define CP (char *)
data/ebumeter-0.4.2/source/ebur128.cc:212:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    F = fopen ("ebur128-prob", "w");
data/ebumeter-0.4.2/source/mainwin.cc:39: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        s [1024];
data/ebumeter-0.4.2/source/png2img.cc:39:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    F = fopen (file, "r");
data/ebumeter-0.4.2/source/styles.cc:37: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   s [1024];
data/ebumeter-0.4.2/source/audiofile.cc:208:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int Audiofile::read (float *data, uint32_t frames)
data/ebumeter-0.4.2/source/audiofile.h:97:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    int read  (float *data, uint32_t frames);
data/ebumeter-0.4.2/source/ebur128.cc:148:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	k = Ainp.read (inpb, bsize);

ANALYSIS SUMMARY:

Hits = 16
Lines analyzed = 3371 in approximately 0.08 seconds (39893 lines/second)
Physical Source Lines of Code (SLOC) = 2311
Hits@level = [0]  54 [1]   3 [2]  11 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]  70 [1+]  16 [2+]  13 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 30.2899 [1+] 6.92341 [2+] 5.62527 [3+] 0.865426 [4+] 0.432713 [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.