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/aconnectgui-0.9.0rc2-1/src/Client.cxx
Examining data/aconnectgui-0.9.0rc2-1/src/Connector.cxx
Examining data/aconnectgui-0.9.0rc2-1/src/Layout.H
Examining data/aconnectgui-0.9.0rc2-1/src/Port.cxx
Examining data/aconnectgui-0.9.0rc2-1/src/Connection.cxx
Examining data/aconnectgui-0.9.0rc2-1/src/Window.cxx
Examining data/aconnectgui-0.9.0rc2-1/src/aconnect.cxx

FINAL RESULTS:

data/aconnectgui-0.9.0rc2-1/src/aconnect.cxx:44:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, arg);
data/aconnectgui-0.9.0rc2-1/src/aconnect.cxx:329:14:  [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 ((c = getopt_long(argc, argv, "dior:t:elx", long_option, NULL)) != -1) {
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:136:2:  [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 from[16];
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:137:2:  [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 to[16];
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:139: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(from,"%d:%d",a->Owner()->ClientId(),a->Owner()->PortId());
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:140: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(to,"%d:%d",b->Owner()->ClientId(),b->Owner()->PortId());
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:154:2:  [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 from[16];
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:155:2:  [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 to[16];
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:160: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(from,"%d:%d",a->Owner()->ClientId(),a->Owner()->PortId());
data/aconnectgui-0.9.0rc2-1/src/Window.cxx:161: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(to,"%d:%d",b->Owner()->ClientId(),b->Owner()->PortId());
data/aconnectgui-0.9.0rc2-1/src/aconnect.cxx:346:12:  [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).
			queue = atoi(optarg);
data/aconnectgui-0.9.0rc2-1/src/aconnect.cxx:351:12:  [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).
			queue = atoi(optarg);

ANALYSIS SUMMARY:

Hits = 12
Lines analyzed = 1436 in approximately 0.04 seconds (32765 lines/second)
Physical Source Lines of Code (SLOC) = 1232
Hits@level = [0]  40 [1]   0 [2]  10 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]  52 [1+]  12 [2+]  12 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 42.2078 [1+] 9.74026 [2+] 9.74026 [3+] 1.62338 [4+] 0.811688 [5+]   0
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.