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/zita-at1-0.6.2/source/jclient.h
Examining data/zita-at1-0.6.2/source/jclient.cc
Examining data/zita-at1-0.6.2/source/global.h
Examining data/zita-at1-0.6.2/source/retuner.h
Examining data/zita-at1-0.6.2/source/guiclass.cc
Examining data/zita-at1-0.6.2/source/mainwin.cc
Examining data/zita-at1-0.6.2/source/button.cc
Examining data/zita-at1-0.6.2/source/zita-at1.cc
Examining data/zita-at1-0.6.2/source/guiclass.h
Examining data/zita-at1-0.6.2/source/styles.h
Examining data/zita-at1-0.6.2/source/button.h
Examining data/zita-at1-0.6.2/source/png2img.h
Examining data/zita-at1-0.6.2/source/mainwin.h
Examining data/zita-at1-0.6.2/source/retuner.cc
Examining data/zita-at1-0.6.2/source/tmeter.cc
Examining data/zita-at1-0.6.2/source/rotary.h
Examining data/zita-at1-0.6.2/source/tmeter.h
Examining data/zita-at1-0.6.2/source/styles.cc
Examining data/zita-at1-0.6.2/source/png2img.cc
Examining data/zita-at1-0.6.2/source/rotary.cc

FINAL RESULTS:

data/zita-at1-0.6.2/source/guiclass.cc:75:16:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    if (_form) snprintf (p, n, _form, _value);
data/zita-at1-0.6.2/source/guiclass.cc:141:16:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    if (_form) snprintf (p, n, _form, _value);
data/zita-at1-0.6.2/source/mainwin.cc:44:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (s, "%s", jclient->jname ());
data/zita-at1-0.6.2/source/styles.cc:50:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (s, "%s/%s.png", SHARED, file);
data/zita-at1-0.6.2/source/mainwin.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 [256];
data/zita-at1-0.6.2/source/mainwin.cc:290: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 [16];
data/zita-at1-0.6.2/source/mainwin.cc:297: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, "Ch %d\n", _midich);
data/zita-at1-0.6.2/source/mainwin.cc:307: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 [16];
data/zita-at1-0.6.2/source/mainwin.cc:312: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, "%5.1lf", _rotary [R_TUNE]->value ());
data/zita-at1-0.6.2/source/mainwin.cc:316: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, "%5.2lf", _rotary [R_OFFS]->value ());
data/zita-at1-0.6.2/source/png2img.cc:38: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/zita-at1-0.6.2/source/retuner.cc:195:13:  [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 (_ipbuff + _ipindex, inp, k * sizeof (float));
data/zita-at1-0.6.2/source/rotary.h:36: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      _lncol [4];
data/zita-at1-0.6.2/source/styles.cc:47: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/zita-at1-0.6.2/source/zita-at1.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 *)

ANALYSIS SUMMARY:

Hits = 15
Lines analyzed = 2772 in approximately 0.06 seconds (42993 lines/second)
Physical Source Lines of Code (SLOC) = 1876
Hits@level = [0]  17 [1]   0 [2]  11 [3]   0 [4]   4 [5]   0
Hits@level+ = [0+]  32 [1+]  15 [2+]  15 [3+]   4 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 17.0576 [1+] 7.99574 [2+] 7.99574 [3+] 2.1322 [4+] 2.1322 [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.