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/jmeters-0.4.5/source/jclient.h
Examining data/jmeters-0.4.5/source/jclient.cc
Examining data/jmeters-0.4.5/source/global.h
Examining data/jmeters-0.4.5/source/vumeterdsp.cc
Examining data/jmeters-0.4.5/source/meterwin.cc
Examining data/jmeters-0.4.5/source/mainwin.cc
Examining data/jmeters-0.4.5/source/vumeterdsp.h
Examining data/jmeters-0.4.5/source/meterwin.h
Examining data/jmeters-0.4.5/source/styles.h
Examining data/jmeters-0.4.5/source/stcorrdsp.h
Examining data/jmeters-0.4.5/source/stcorrdsp.cc
Examining data/jmeters-0.4.5/source/iec1ppmdsp.h
Examining data/jmeters-0.4.5/source/png2img.h
Examining data/jmeters-0.4.5/source/mainwin.h
Examining data/jmeters-0.4.5/source/iec1ppmdsp.cc
Examining data/jmeters-0.4.5/source/styles.cc
Examining data/jmeters-0.4.5/source/iec2ppmdsp.cc
Examining data/jmeters-0.4.5/source/iec2ppmdsp.h
Examining data/jmeters-0.4.5/source/png2img.cc
Examining data/jmeters-0.4.5/source/jmeters.cc

FINAL RESULTS:

data/jmeters-0.4.5/source/jclient.cc:86:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (t2, "%s:%s", _jname, t1);
data/jmeters-0.4.5/source/mainwin.cc:83:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (s, "%s    %s-%s", jclient->jname (), PROGRAM, VERSION);
data/jmeters-0.4.5/source/meterwin.cc:324:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (s, "%s/%s%s.png", pngpath, pt, pf);
data/jmeters-0.4.5/source/global.h:55:11:  [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.
    const char  *_jport [NMAX];
data/jmeters-0.4.5/source/global.h:56:11:  [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.
    const char  *_label [NMAX];
data/jmeters-0.4.5/source/jclient.cc:60: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           t1 [16];
data/jmeters-0.4.5/source/jclient.cc:61: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           t2 [64];
data/jmeters-0.4.5/source/jclient.cc:85:2:  [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 (t1, "in-%d", i + 1);
data/jmeters-0.4.5/source/jmeters.cc:32: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/jmeters-0.4.5/source/jmeters.cc:163:20:  [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).
    config._ncol = atoi (xresman.get (".columns", "4"));
data/jmeters-0.4.5/source/mainwin.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/jmeters-0.4.5/source/mainwin.cc:54:9:  [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).
    j = atoi (xres->get (".update", "20"));
data/jmeters-0.4.5/source/meterwin.cc:277: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/jmeters-0.4.5/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/jmeters-0.4.5/source/iec1ppmdsp.cc:82:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
float Iec1ppmdsp::read (void)
data/jmeters-0.4.5/source/iec1ppmdsp.h:34:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    float read (void);
data/jmeters-0.4.5/source/iec2ppmdsp.cc:82:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
float Iec2ppmdsp::read (void)
data/jmeters-0.4.5/source/iec2ppmdsp.h:34:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    float read (void);
data/jmeters-0.4.5/source/jclient.cc:197:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
float Jclient::read (int i)
data/jmeters-0.4.5/source/jclient.cc:202:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return _vudsp [i].read ();
data/jmeters-0.4.5/source/jclient.cc:204:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return _i1dsp [i].read ();
data/jmeters-0.4.5/source/jclient.cc:206:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return _i2dsp [i].read ();
data/jmeters-0.4.5/source/jclient.cc:208:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return _scdsp [i].read ();
data/jmeters-0.4.5/source/jclient.h:45:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    float read (int i);
data/jmeters-0.4.5/source/mainwin.cc:164:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (n >= 1) v1 = _jclient->read (j++);
data/jmeters-0.4.5/source/mainwin.cc:166:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (n >= 2) v2 = _jclient->read (j++);  
data/jmeters-0.4.5/source/stcorrdsp.cc:71:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
float Stcorrdsp::read (void)
data/jmeters-0.4.5/source/stcorrdsp.h:34:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    float read (void);
data/jmeters-0.4.5/source/vumeterdsp.cc:75:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
float Vumeterdsp::read (void)
data/jmeters-0.4.5/source/vumeterdsp.h:34:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    float read (void);

ANALYSIS SUMMARY:

Hits = 30
Lines analyzed = 2137 in approximately 0.10 seconds (21649 lines/second)
Physical Source Lines of Code (SLOC) = 1384
Hits@level = [0]  20 [1]  16 [2]  11 [3]   0 [4]   3 [5]   0
Hits@level+ = [0+]  50 [1+]  30 [2+]  14 [3+]   3 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 36.1272 [1+] 21.6763 [2+] 10.1156 [3+] 2.16763 [4+] 2.16763 [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.