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/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfigclient.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfigclient.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-gconf.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-gsettings.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-win32.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/awindowlevel.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/dicom_legacy.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/dicomdir.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/dicomdirloader.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/dicomdirloader.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/fileloader.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/fileloader.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/imagepool.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/imagepool.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/loader.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/loader.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/netclient.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/netloader.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolfindassociation.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolmoveassociation.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolnetwork.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolnetwork.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolseries.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolseries.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolservers.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolservers.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolstudy.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolstudy.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/netloader.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/netquery.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolfindassociation.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolmoveassociation.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/aboutdialog.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/aboutdialog.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/abusycursor.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/abusycursor.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/aiconfactory.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/aiconfactory.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/astockids.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/astockids.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/main.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/mainwindow.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/mainwindow.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/prescandialog.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/prescandialog.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/studymanager.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/studymanager.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/windowleveldialog.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/windowleveldialog.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adisplay.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adisplay.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/afloatwidget.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/afloatwidget.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/aframectrl.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/amultiframectrl.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/amultiframectrl.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/aseriesmenu.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/aseriesmenu.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/asimpledisplay.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/asimpledisplay.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/astudytab.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/astudytab.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/atiler.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/atiler.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/avaluetool.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/avaluetool.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/awindowleveltoolbutton.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/awindowleveltoolbutton.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/displayparameters.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/displayparameters.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/imagelayouttoolbutton.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/imagelayouttoolbutton.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/serieslayouttoolbutton.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/serieslayouttoolbutton.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/seriesview.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/seriesview.h
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/studyview.cpp
Examining data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/studyview.h

FINAL RESULTS:

data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:78:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		size = readlink (path2, path, buf_size - 1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:299:2:  [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.
	snprintf(temp, sizeof(temp), format, value);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:311:2:  [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.
	snprintf(temp, sizeof(temp), format, value);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolfindassociation.cpp:58:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(req.AffectedSOPClassUID, m_abstractSyntax);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolmoveassociation.cpp:105:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(req.AffectedSOPClassUID, sopClass);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolmoveassociation.cpp:108:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(req.MoveDestination, m_ourAET.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-gconf.cpp:123:25:  [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 buffer[50];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-gsettings.cpp:168:25:  [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 buffer[50];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-win32.cpp:95:9:  [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 val[512];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-win32.cpp:195: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 servername[512];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-win32.cpp:196: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 buf[256];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-win32.cpp:283: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 servername[512];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/configuration/aconfiguration-win32.cpp:356: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 desc[256];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:218:3:  [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 msg_ctxt_id[msgctxt_len + msgid_len];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:220:3:  [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 buf[1024];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:228: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:230: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:264:3:  [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 msg_ctxt_id[msgctxt_len + msgid_len];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:266:3:  [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 buf[1024];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:274: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:276: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/netquery.cpp:123:10:  [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 i = atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:292:9:  [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 temp[16];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:298:9:  [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 temp[16];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:304:9:  [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 temp[16];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:310:9:  [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 temp[16];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:351:9:  [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 buffer[129];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:351:25:  [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).
		r->m_instancenumber = atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:404:21:  [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).
		r->m_intercept += atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:413: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).
		    r->m_slope = atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:623:32:  [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).
		r->m_studyrelatedinstances = atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:628:29:  [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).
		r->m_studyrelatedseries = atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:633:33:  [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).
		r->m_seriesrelatedinstances = atoi(ofstr.c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolinstance.cpp:671: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 part[3][500];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:122:6:  [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 ("/proc/self/maps", "r");
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:188: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 *address_string, line[SIZE], *found;
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:193:6:  [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 ("/proc/self/maps", "r");
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:253:3:  [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 (address_string, "0x", 2);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:254:3:  [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 (address_string + 2, start_addr, len);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:258:3:  [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 (address_string, "0x", 2);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:259:3:  [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 (address_string + 2, end_addr, len);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:505:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(dir, "./share");
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:681:2:  [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 (result, str1, len1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:682:2:  [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 (result + len1, str2, len2);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:727:2:  [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 (result, str, size);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.cpp:193:33:  [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).
	m_configuration.set_local_port(atoi(m_local_port->get_text().c_str()));
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.cpp:230: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 buffer[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.cpp:268: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 servername[50];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.cpp:321: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 buffer[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/settings.cpp:349:13:  [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).
		guint i = atoi(m_server_detail_port->get_text().c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/studymanager.cpp:267: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 buffer[50];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp:147:16:  [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).
		guint year = atoi(isodate.substr(0,4).c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp:148:17:  [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).
		guint month = atoi(isodate.substr(4,2).c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp:149:15:  [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).
		guint day = atoi(isodate.substr(6,2).c_str());
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp:161:3:  [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 date[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp:227: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 date[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adatefilter.cpp:242: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 date[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adisplay.cpp:165:3:  [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 buffer[50];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adisplay.cpp:512: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 buffer[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/adisplay.cpp:564: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 buffer[10];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/aseriesmenu.cpp:43: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 buffer[200];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/widgets/avaluetool.cpp:13: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 buffer[20];
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:214:24:  [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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:215:22:  [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).
  size_t msgid_len = strlen (msgid) + 1;
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:260:24:  [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).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/gettext.h:261:22:  [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).
  size_t msgid_len = strlen (msgid) + 1;
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/loader.cpp:185:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
		Glib::usleep(1000*100);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:123:62:  [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 (!DU_findSOPClassAndInstanceInDataSet(dataset, sopClass, strlen(sopClass), sopInstance, strlen(sopInstance)))
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:123:93:  [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 (!DU_findSOPClassAndInstanceInDataSet(dataset, sopClass, strlen(sopClass), sopInstance, strlen(sopInstance)))
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:142:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(req.AffectedSOPClassUID, sopClass, sizeof(req.AffectedSOPClassUID));
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:143:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(req.AffectedSOPInstanceUID, sopInstance, sizeof(req.AffectedSOPInstanceUID));
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.cpp:353:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(buffer, val.c_str(), sizeof(buffer));
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolassociation.h:111:8:  [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 (strlen(value) > 0) {
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolmoveassociation.cpp:313:73:  [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 (! DU_findSOPClassAndInstanceInDataSet(cbdata->dataset, sopClass,strlen(sopClass),
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/imagepool/poolmoveassociation.cpp:314:25:  [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).
							    sopInstance, strlen(sopInstance))) {
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:73:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy (path2, "/proc/self/exe", buf_size - 1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:105:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (path, path2, buf_size - 1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:141:13:  [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).
	buf_size = strlen (line);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:229:9:  [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).
		len = strlen (file);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:236:9:  [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).
		len = strlen (file);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:241:9:  [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).
		len = strlen (start_addr);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:242:14:  [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 (len != strlen (end_addr))
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:677:9:  [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).
	len1 = strlen (str1);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:678:9:  [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).
	len2 = strlen (str2);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:696:8:  [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).
	len = strlen (dir);
data/aeskulap-0.2.2-beta2+git20190406.ef77f01/src/binreloc.c:720:8:  [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).
	len = strlen (str);

ANALYSIS SUMMARY:

Hits = 86
Lines analyzed = 16143 in approximately 0.41 seconds (39793 lines/second)
Physical Source Lines of Code (SLOC) = 9898
Hits@level = [0]  15 [1]  24 [2]  56 [3]   0 [4]   5 [5]   1
Hits@level+ = [0+] 101 [1+]  86 [2+]  62 [3+]   6 [4+]   6 [5+]   1
Hits/KSLOC@level+ = [0+] 10.2041 [1+] 8.68862 [2+] 6.26389 [3+] 0.606183 [4+] 0.606183 [5+] 0.101031
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.