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/xevil-2.02r2/win32/aboutdialog.cpp
Examining data/xevil-2.02r2/win32/connectdlg.cpp
Examining data/xevil-2.02r2/win32/difficulty.cpp
Examining data/xevil-2.02r2/win32/draw.cpp
Examining data/xevil-2.02r2/win32/fileman.cpp
Examining data/xevil-2.02r2/win32/firepal.cpp
Examining data/xevil-2.02r2/win32/fogpal.cpp
Examining data/xevil-2.02r2/win32/fsstatus.cpp
Examining data/xevil-2.02r2/win32/glowpal.cpp
Examining data/xevil-2.02r2/win32/keyhitdlg.cpp
Examining data/xevil-2.02r2/win32/keysets.cpp
Examining data/xevil-2.02r2/win32/optionsdlg.cpp
Examining data/xevil-2.02r2/win32/palmod.cpp
Examining data/xevil-2.02r2/win32/runserverdlg.cpp
Examining data/xevil-2.02r2/win32/s_man.cpp
Examining data/xevil-2.02r2/win32/sound.cpp
Examining data/xevil-2.02r2/win32/specialcontrols.cpp
Examining data/xevil-2.02r2/win32/stdafx.cpp
Examining data/xevil-2.02r2/win32/storydlg.cpp
Examining data/xevil-2.02r2/win32/timedlg.cpp
Examining data/xevil-2.02r2/win32/ui.cpp
Examining data/xevil-2.02r2/win32/uiplayer.cpp
Examining data/xevil-2.02r2/win32/uiserver.cpp
Examining data/xevil-2.02r2/win32/wheel.cpp
Examining data/xevil-2.02r2/win32/xdata.cpp
Examining data/xevil-2.02r2/win32/xevil.cpp
Examining data/xevil-2.02r2/win32/xevilserverstatus.cpp
Examining data/xevil-2.02r2/win32/xviewport.cpp
Examining data/xevil-2.02r2/win32/aboutdialog.h
Examining data/xevil-2.02r2/win32/connectdlg.h
Examining data/xevil-2.02r2/win32/difficulty.h
Examining data/xevil-2.02r2/win32/fileman.h
Examining data/xevil-2.02r2/win32/firepal.h
Examining data/xevil-2.02r2/win32/fogpal.h
Examining data/xevil-2.02r2/win32/fsstatus.h
Examining data/xevil-2.02r2/win32/glowpal.h
Examining data/xevil-2.02r2/win32/keyhitdlg.h
Examining data/xevil-2.02r2/win32/keysets.h
Examining data/xevil-2.02r2/win32/optionsdlg.h
Examining data/xevil-2.02r2/win32/palmod.h
Examining data/xevil-2.02r2/win32/resource.h
Examining data/xevil-2.02r2/win32/runserverdlg.h
Examining data/xevil-2.02r2/win32/s_man.h
Examining data/xevil-2.02r2/win32/sound.h
Examining data/xevil-2.02r2/win32/specialcontrols.h
Examining data/xevil-2.02r2/win32/stdafx.h
Examining data/xevil-2.02r2/win32/storydlg.h
Examining data/xevil-2.02r2/win32/timedlg.h
Examining data/xevil-2.02r2/win32/ui.h
Examining data/xevil-2.02r2/win32/uiplayer.h
Examining data/xevil-2.02r2/win32/uiserver.h
Examining data/xevil-2.02r2/win32/wheel.h
Examining data/xevil-2.02r2/win32/xdata.h
Examining data/xevil-2.02r2/win32/xevil.h
Examining data/xevil-2.02r2/win32/xevilserverstatus.h
Examining data/xevil-2.02r2/win32/xviewport.h
Examining data/xevil-2.02r2/x11/panel.h
Examining data/xevil-2.02r2/x11/sound.h
Examining data/xevil-2.02r2/x11/stdafx.h
Examining data/xevil-2.02r2/x11/draw.cpp
Examining data/xevil-2.02r2/x11/l_agreement_dlg.cpp
Examining data/xevil-2.02r2/x11/main.cpp
Examining data/xevil-2.02r2/x11/panel.cpp
Examining data/xevil-2.02r2/x11/serverping.cpp
Examining data/xevil-2.02r2/x11/ui.cpp
Examining data/xevil-2.02r2/x11/ui.h
Examining data/xevil-2.02r2/x11/viewport.cpp
Examining data/xevil-2.02r2/x11/viewport.h
Examining data/xevil-2.02r2/x11/xdata.cpp
Examining data/xevil-2.02r2/x11/xdata.h
Examining data/xevil-2.02r2/cmn/coord.cpp
Examining data/xevil-2.02r2/cmn/id.cpp
Examining data/xevil-2.02r2/cmn/l_agreement.cpp
Examining data/xevil-2.02r2/cmn/sound_cmn.cpp
Examining data/xevil-2.02r2/cmn/ui_cmn.cpp
Examining data/xevil-2.02r2/cmn/actual.h
Examining data/xevil-2.02r2/cmn/area.h
Examining data/xevil-2.02r2/cmn/id.h
Examining data/xevil-2.02r2/cmn/l_agreement.h
Examining data/xevil-2.02r2/cmn/neth.h
Examining data/xevil-2.02r2/cmn/sound_cmn.h
Examining data/xevil-2.02r2/cmn/ui_cmn.h
Examining data/xevil-2.02r2/cmn/world.h
Examining data/xevil-2.02r2/cmn/actual.cpp
Examining data/xevil-2.02r2/cmn/area.cpp
Examining data/xevil-2.02r2/cmn/coord.h
Examining data/xevil-2.02r2/cmn/game.cpp
Examining data/xevil-2.02r2/cmn/game.h
Examining data/xevil-2.02r2/cmn/game_style.cpp
Examining data/xevil-2.02r2/cmn/game_style.h
Examining data/xevil-2.02r2/cmn/intel.cpp
Examining data/xevil-2.02r2/cmn/intel.h
Examining data/xevil-2.02r2/cmn/locator.cpp
Examining data/xevil-2.02r2/cmn/locator.h
Examining data/xevil-2.02r2/cmn/physical.cpp
Examining data/xevil-2.02r2/cmn/physical.h
Examining data/xevil-2.02r2/cmn/role.cpp
Examining data/xevil-2.02r2/cmn/role.h
Examining data/xevil-2.02r2/cmn/streams.cpp
Examining data/xevil-2.02r2/cmn/streams.h
Examining data/xevil-2.02r2/cmn/utils.cpp
Examining data/xevil-2.02r2/cmn/utils.h
Examining data/xevil-2.02r2/cmn/world.cpp
Examining data/xevil-2.02r2/cmn/xetp.cpp
Examining data/xevil-2.02r2/cmn/xetp.h
Examining data/xevil-2.02r2/cmn/xetp_basic.cpp
Examining data/xevil-2.02r2/cmn/xetp_basic.h

FINAL RESULTS:

data/xevil-2.02r2/cmn/game.cpp:2760:9:  [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(displayNames[vNum],argv[n+1]);
data/xevil-2.02r2/cmn/game.cpp:2769:11:  [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(displayNames[m],argv[n+1]);
data/xevil-2.02r2/cmn/intel.cpp:242:10:  [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).
  Utils::strcpy(intelStatus.name,name); 
data/xevil-2.02r2/cmn/intel.cpp:389:3:  [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(intelStatus.name,newName);
data/xevil-2.02r2/cmn/intel.cpp:604:5:  [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(intelStatus.className,p->get_class_name());
data/xevil-2.02r2/cmn/intel.cpp:633:5:  [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(intelStatus.weapon,(char *)weapon);
data/xevil-2.02r2/cmn/intel.cpp:683:6:  [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(intelStatus.item,item ? item->get_class_name() : "none");
data/xevil-2.02r2/cmn/role.cpp:149:10:  [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).
  Utils::strcpy(newMsg + 1,sender);
data/xevil-2.02r2/cmn/role.cpp:151:10:  [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).
  Utils::strcpy(newMsg + senLen + 2,message);
data/xevil-2.02r2/cmn/utils.cpp:213:5:  [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(ret,str);
data/xevil-2.02r2/cmn/utils.cpp:482:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  FILE* fp = popen(UNAME_PATH " -a","r");
data/xevil-2.02r2/cmn/utils.h:249:15:  [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).
  static void strcpy(char* s,const char* ct)
data/xevil-2.02r2/cmn/utils.h:250:8:  [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(s,ct);}
data/xevil-2.02r2/cmn/utils.h:255:15:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  static void strcat(char* s,const char* ct)
data/xevil-2.02r2/cmn/utils.h:256:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    {::strcat(s,ct);}
data/xevil-2.02r2/win32/uiplayer.cpp:1195:13:  [4] (shell) ShellExecute:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            ShellExecute(NULL,"open",t_string,"","",SW_SHOWDEFAULT);
data/xevil-2.02r2/win32/xevil.cpp:94:4:  [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(p_argv[p_argc],t_string.GetBuffer(0));
data/xevil-2.02r2/x11/panel.cpp:120:5:  [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(message,msg);
data/xevil-2.02r2/x11/panel.cpp:136:5:  [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(message,msg);
data/xevil-2.02r2/x11/panel.cpp:222:3:  [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(prompt,pmpt);
data/xevil-2.02r2/x11/panel.cpp:233:3:  [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(value,val);
data/xevil-2.02r2/x11/panel.cpp:256:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		      strcat(value,buffer);
data/xevil-2.02r2/x11/panel.cpp:262:9:  [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(value,buffer);
data/xevil-2.02r2/x11/panel.cpp:479:16:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        Utils::strcat(value,buffer);
data/xevil-2.02r2/cmn/utils.cpp:67:3:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srandom(seed);
data/xevil-2.02r2/cmn/utils.cpp:69:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand((unsigned int)seed);
data/xevil-2.02r2/cmn/utils.cpp:77:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  return (Boolean)(random() % 2);
data/xevil-2.02r2/cmn/utils.cpp:88:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  return (int)(random() % x);
data/xevil-2.02r2/cmn/utils.cpp:226:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
const char* Utils::getenv(const char* varName) {
data/xevil-2.02r2/cmn/utils.cpp:227:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return ::getenv(varName);
data/xevil-2.02r2/cmn/utils.h:147:6:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
long random();
data/xevil-2.02r2/cmn/utils.h:148:6:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void srandom(int);
data/xevil-2.02r2/cmn/utils.h:260:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  static const char* getenv(const char*);
data/xevil-2.02r2/win32/fileman.cpp:147:21:  [3] (tmpfile) GetTempFileName:
  Temporary file race condition in certain cases (e.g., if run as SYSTEM in
  many versions of Windows) (CWE-377).
    UINT t_result = GetTempFileName(directoryname,TEMP_DEFAULT_PREPEND, TRUE, buffer.GetBuffer(MAX_PATH));
data/xevil-2.02r2/win32/xevil.cpp:231:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand((unsigned int)time(NULL));
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:365:29:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* home = Utils::getenv("HOME");
data/xevil-2.02r2/cmn/actual.cpp:2998:25:  [2] (misc) open:
  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).
  out->write_char((char)open);
data/xevil-2.02r2/cmn/actual.cpp:3008:7:  [2] (misc) open:
  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).
	if (!open) {
data/xevil-2.02r2/cmn/actual.h:1342:11:  [2] (misc) open:
  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).
  Boolean open;
data/xevil-2.02r2/cmn/game.cpp:2336:27:  [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).
      clientPort = Utils::atoi(argv[n+1]);
data/xevil-2.02r2/cmn/game.cpp:2353:60:  [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).
      skip = Utils::maximum(Connection::ADJUST_SKIP,Utils::atoi(argv[n + 1]));
data/xevil-2.02r2/cmn/game.cpp:2423:49:  [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).
      Server::set_no_activity_disconnect(Utils::atoi(argv[n]));
data/xevil-2.02r2/cmn/game.cpp:2515:24:  [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 val = Utils::atoi(argv[n]);
data/xevil-2.02r2/cmn/game.cpp:2520:30:  [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).
      humansNumNext = Utils::atoi(argv[n+1]);
data/xevil-2.02r2/cmn/game.cpp:2580:31:  [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).
      enemiesNumNext = Utils::atoi(argv[n+1]);
data/xevil-2.02r2/cmn/game.cpp:2700:23:  [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).
      quanta = Utils::atoi(argv[n+1]);
data/xevil-2.02r2/cmn/game.cpp:2713:42:  [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).
      Turn val = Utils::maximum(1,Utils::atoi(argv[n]));
data/xevil-2.02r2/cmn/game.h:139: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.
  const char *rankings[RANKING_SET_MAX + 1]; // Extra for NULL.
data/xevil-2.02r2/cmn/game.h:415:16:  [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 const char *wittySayings[WITTY_SAYINGS_NUM];
data/xevil-2.02r2/cmn/game.h:416:16:  [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 const char *intelNames[INTEL_NAMES_NUM];
data/xevil-2.02r2/cmn/game.h:449: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 *humanNames[Locator::HUMANS_MAX]; 
data/xevil-2.02r2/cmn/intel.cpp:244:10:  [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.
  Utils::strcpy(intelStatus.className,"none");
data/xevil-2.02r2/cmn/intel.cpp:248:10:  [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.
  Utils::strcpy(intelStatus.weapon,"none");
data/xevil-2.02r2/cmn/intel.cpp:252:10:  [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.
  Utils::strcpy(intelStatus.item,"none");
data/xevil-2.02r2/cmn/intel.cpp:556:3:  [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(intelStatus.className,"tormented spirit");
data/xevil-2.02r2/cmn/intel.cpp:559:3:  [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(intelStatus.weapon,"none");
data/xevil-2.02r2/cmn/intel.cpp:563:3:  [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(intelStatus.item,"none");
data/xevil-2.02r2/cmn/intel.cpp:729:9:  [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(intelStatus.item,"suicide button");
data/xevil-2.02r2/cmn/intel.cpp:735:7:  [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(intelStatus.item,"none");
data/xevil-2.02r2/cmn/intel.cpp:2096: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[80];
data/xevil-2.02r2/cmn/intel.h:89: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 name[IT_STRING_LENGTH];
data/xevil-2.02r2/cmn/intel.h:91: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 className[IT_STRING_LENGTH];
data/xevil-2.02r2/cmn/intel.h:97: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 weapon[IT_STRING_LENGTH];
data/xevil-2.02r2/cmn/intel.h:102: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 item[IT_STRING_LENGTH];
data/xevil-2.02r2/cmn/locator.h:862: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 *messages[OL_MESSAGES_MAX];
data/xevil-2.02r2/cmn/neth.h:85: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    sin_zero[8];
data/xevil-2.02r2/cmn/physical.cpp:968:35:  [2] (misc) open:
  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).
  hitWall = hitWallNext = !world->open(area);
data/xevil-2.02r2/cmn/role.cpp:565:19:  [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).
    port = Utils::atoi(portName);
data/xevil-2.02r2/cmn/role.cpp:630:5:  [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((void *)&serverAddr.sin_addr.s_addr,(void *)&IPAddr,sizeof(u_long)); 
data/xevil-2.02r2/cmn/role.cpp:639:5:  [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((void *)&serverAddr.sin_addr,(void *)hp->h_addr,hp->h_length);
data/xevil-2.02r2/cmn/role.cpp:1440: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 sender[IT_STRING_LENGTH];  
data/xevil-2.02r2/cmn/role.cpp:1780:19:  [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).
    port = Utils::atoi(portName);
data/xevil-2.02r2/cmn/role.cpp:2771: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 humanName[IT_STRING_LENGTH];
data/xevil-2.02r2/cmn/role.cpp:2828: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(udpAddr,&tcpAddr,sizeof(CMN_SOCKADDR_IN));
data/xevil-2.02r2/cmn/role.cpp:3110: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 receiver[IT_STRING_LENGTH];  
data/xevil-2.02r2/cmn/role.h:342: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 hostName[R_NAME_MAX];
data/xevil-2.02r2/cmn/role.h:343: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 serverName[R_NAME_MAX];
data/xevil-2.02r2/cmn/role.h:488: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 clientName[R_NAME_MAX];
data/xevil-2.02r2/cmn/role.h:684: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 hostName[R_NAME_MAX];
data/xevil-2.02r2/cmn/streams.cpp:336: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 data[XETP::VERSION_LENGTH];
data/xevil-2.02r2/cmn/streams.cpp:343: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 recvdVersion[XETP::VERSION_LENGTH + 1];
data/xevil-2.02r2/cmn/streams.cpp:344:5:  [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(recvdVersion,data,XETP::VERSION_LENGTH);
data/xevil-2.02r2/cmn/streams.cpp:397:5:  [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(buf,buffer + bufPtr,size);
data/xevil-2.02r2/cmn/streams.cpp:528:5:  [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(buffer + bufPtr,buf,size);
data/xevil-2.02r2/cmn/utils.cpp:220: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).
int Utils::atoi(const char* s) {
data/xevil-2.02r2/cmn/utils.cpp:221: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).
  return ::atoi(s);
data/xevil-2.02r2/cmn/utils.cpp:317:5:  [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(buffer,b,bufLen - 1);
data/xevil-2.02r2/cmn/utils.cpp:486: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 buffer[120];
data/xevil-2.02r2/cmn/utils.cpp:706:5:  [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(newData,data,allc * sizeof(void *));
data/xevil-2.02r2/cmn/utils.cpp:996:15:  [2] (misc) open:
  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).
    outStream.open("c:\\out.txt",ios::out);
data/xevil-2.02r2/cmn/utils.cpp:1011:13:  [2] (misc) open:
  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).
  outStream.open("c:\\out.txt",ios::app); 
data/xevil-2.02r2/cmn/utils.h:258:14:  [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).
  static int atoi(const char*);
data/xevil-2.02r2/cmn/world.cpp:92:27:  [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.
  Blueprints(WorldP world,char map[W_ROW_MAX_MAX][W_COL_MAX_MAX],
data/xevil-2.02r2/cmn/world.cpp:134:11:  [2] (misc) open:
  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).
  Boolean open(const RoomIndex &ri);
data/xevil-2.02r2/cmn/world.cpp:154: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 (* map)[W_COL_MAX_MAX];
data/xevil-2.02r2/cmn/world.cpp:165:33:  [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.
Blueprints::Blueprints(WorldP w,char m[W_ROW_MAX_MAX][W_COL_MAX_MAX],
data/xevil-2.02r2/cmn/world.cpp:305:20:  [2] (misc) open:
  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).
	      if (!world->open(check,True)) {
data/xevil-2.02r2/cmn/world.cpp:320:23:  [2] (misc) open:
  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).
		        if (!world->open(check,True)) {
data/xevil-2.02r2/cmn/world.cpp:352:25:  [2] (misc) open:
  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).
            if (!world->open(check,True)) {
data/xevil-2.02r2/cmn/world.cpp:474:18:  [2] (misc) open:
  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).
    Boolean ok = open(ri);
data/xevil-2.02r2/cmn/world.cpp:483:16:  [2] (misc) open:
  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).
          ok = open(ri);
data/xevil-2.02r2/cmn/world.cpp:489:16:  [2] (misc) open:
  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).
          ok = open(ri);
data/xevil-2.02r2/cmn/world.cpp:498:16:  [2] (misc) open:
  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).
          ok = open(ri);
data/xevil-2.02r2/cmn/world.cpp:504:16:  [2] (misc) open:
  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).
          ok = open(ri);
data/xevil-2.02r2/cmn/world.cpp:553:21:  [2] (misc) open:
  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).
Boolean Blueprints::open(const RoomIndex &ri) {
data/xevil-2.02r2/cmn/world.cpp:671:19:  [2] (misc) open:
  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).
    while (world->open(loc,True)) {
data/xevil-2.02r2/cmn/world.cpp:679:20:  [2] (misc) open:
  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).
      if ((!world->open(left) || !world->open(right))) {
data/xevil-2.02r2/cmn/world.cpp:679:42:  [2] (misc) open:
  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).
      if ((!world->open(left) || !world->open(right))) {
data/xevil-2.02r2/cmn/world.cpp:686:22:  [2] (misc) open:
  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).
		        if (world->open(extraLoc,True)) {
data/xevil-2.02r2/cmn/world.cpp:1319:16:  [2] (misc) open:
  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).
Boolean World::open(const Loc &loc,Boolean laddersClosed,Boolean postersClosed,
data/xevil-2.02r2/cmn/world.cpp:1364:16:  [2] (misc) open:
  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).
Boolean World::open(const Area &area,Boolean laddersClosed,
data/xevil-2.02r2/cmn/world.cpp:1380:10:  [2] (misc) open:
  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).
    if (!open(list[n],laddersClosed,postersClosed,
data/xevil-2.02r2/cmn/world.cpp:1404:16:  [2] (misc) open:
  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).
Boolean World::open(const Box &box,Boolean laddersClosed,Boolean postersClosed,
data/xevil-2.02r2/cmn/world.cpp:1409:12:  [2] (misc) open:
  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).
      if (!open(loc,laddersClosed,postersClosed,doorsClosed)) {
data/xevil-2.02r2/cmn/world.cpp:1420:7:  [2] (misc) open:
  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).
  if (open(areaNew)) {
data/xevil-2.02r2/cmn/world.cpp:1648:14:  [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).
  FILE *fp = fopen(filename,"r");
data/xevil-2.02r2/cmn/world.cpp:1696: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[W_COL_MAX_MAX];
data/xevil-2.02r2/cmn/world.cpp:2189:9:  [2] (misc) open:
  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).
    if (open(area,True,False,True)) {
data/xevil-2.02r2/cmn/world.cpp:2219:9:  [2] (misc) open:
  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).
    if (open(area,True,False,True) && (touching == CO_dn)) {
data/xevil-2.02r2/cmn/world.cpp:2332:7:  [2] (misc) open:
  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).
  if (open(area,True,False,True)) {
data/xevil-2.02r2/cmn/world.cpp:2356:9:  [2] (misc) open:
  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).
    if (open(box,laddersClosed,postersClosed,doorsClosed)) {
data/xevil-2.02r2/cmn/world.cpp:2384:9:  [2] (misc) open:
  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).
    if (open(area,laddersClosed,postersClosed,doorsClosed) &&
data/xevil-2.02r2/cmn/world.cpp:2465:12:  [2] (misc) open:
  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).
      if (!open(tItem.list[n])) {
data/xevil-2.02r2/cmn/world.cpp:2481:12:  [2] (misc) open:
  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).
      if (!open(tItem.list[n])) {
data/xevil-2.02r2/cmn/world.cpp:2496:13:  [2] (misc) open:
  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).
      if (! open(tItem.list[n])) {
data/xevil-2.02r2/cmn/world.cpp:2545:8:  [2] (misc) open:
  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).
  if (!open(area,False,False,False,False)) {
data/xevil-2.02r2/cmn/world.cpp:2563:12:  [2] (misc) open:
  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).
    return open(newArea);
data/xevil-2.02r2/cmn/world.cpp:2573:12:  [2] (misc) open:
  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).
    return open(newArea);
data/xevil-2.02r2/cmn/world.cpp:2595:11:  [2] (misc) open:
  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).
    if (! open(list[n])) {
data/xevil-2.02r2/cmn/world.cpp:2743:9:  [2] (misc) open:
  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).
				if (open(outer[n])) {
data/xevil-2.02r2/cmn/world.cpp:2749:9:  [2] (misc) open:
  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).
			if (!open(inner)) {
data/xevil-2.02r2/cmn/world.cpp:2782:11:  [2] (misc) open:
  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).
    if (! open(list[n])) {
data/xevil-2.02r2/cmn/world.cpp:2811:9:  [2] (misc) open:
  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).
    if (open(areaTest)) {
data/xevil-2.02r2/cmn/world.cpp:2961:11:  [2] (misc) open:
  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).
	    if (!open(check,True,True,True)) {
data/xevil-2.02r2/cmn/world.cpp:2996:13:  [2] (misc) open:
  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).
	      if (!open(check,True,True,True)) {
data/xevil-2.02r2/cmn/world.h:319:11:  [2] (misc) open:
  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).
  Boolean open(const Area &area,
data/xevil-2.02r2/cmn/world.h:431:11:  [2] (misc) open:
  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).
  Boolean open(const Loc &loc,
data/xevil-2.02r2/cmn/world.h:441:11:  [2] (misc) open:
  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).
  Boolean open(const Box &box,
data/xevil-2.02r2/cmn/world.h:577: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 map[W_ROW_MAX_MAX][W_COL_MAX_MAX];
data/xevil-2.02r2/win32/fsstatus.cpp:77: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 t_char[IT_STRING_LENGTH];
data/xevil-2.02r2/win32/fsstatus.cpp:299:31:  [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.
StatusWnd::updateWeapon(const char p_stat[IT_STRING_LENGTH],ClassId weaponClassId,int p_ammo,BOOL p_ready)
data/xevil-2.02r2/win32/fsstatus.cpp:319:29:  [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.
StatusWnd::updateItem(const char p_stat[IT_STRING_LENGTH],ClassId itemClassId,int p_count)
data/xevil-2.02r2/win32/fsstatus.cpp:331:38:  [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.
StatusWnd::updateCharacterName(const char p_name[IT_STRING_LENGTH])
data/xevil-2.02r2/win32/fsstatus.cpp:344:39:  [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.
StatusWnd::updateCharacterClass(const char p_class[IT_STRING_LENGTH])
data/xevil-2.02r2/win32/fsstatus.cpp:359: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 t_char[IT_STRING_LENGTH];
data/xevil-2.02r2/win32/fsstatus.cpp:385: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 t_char[IT_STRING_LENGTH];
data/xevil-2.02r2/win32/fsstatus.cpp:405: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 t_char[IT_STRING_LENGTH];
data/xevil-2.02r2/win32/fsstatus.cpp:420: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 t_char[IT_STRING_LENGTH];
data/xevil-2.02r2/win32/fsstatus.h:134:36:  [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.
    void updateCharacterName(const char p_stat[IT_STRING_LENGTH]);
data/xevil-2.02r2/win32/fsstatus.h:135:37:  [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.
    void updateCharacterClass(const char p_stat[IT_STRING_LENGTH]);
data/xevil-2.02r2/win32/fsstatus.h:138:29:  [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.
    void updateWeapon(const char p_stat[IT_STRING_LENGTH],ClassId weaponClassId,int p_ammo,BOOL p_ready);
data/xevil-2.02r2/win32/fsstatus.h:139:27:  [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.
    void updateItem(const char p_stat[IT_STRING_LENGTH],ClassId itemClassId,int p_count);
data/xevil-2.02r2/win32/sound.cpp:1009:13:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            CopyMemory(pMem1, pbWaveData, dwSize1);
data/xevil-2.02r2/win32/sound.cpp:1012:17:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                CopyMemory(pMem2, pbWaveData+dwSize1, dwSize2);
data/xevil-2.02r2/win32/ui.cpp:176:21:  [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 right[UI_KEYS_MAX][2],
data/xevil-2.02r2/win32/ui.cpp:177:21:  [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 left[UI_KEYS_MAX][2]){}
data/xevil-2.02r2/win32/ui.h:81: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.
typedef char UIkeymap[UI_KEYS_MAX][2];
data/xevil-2.02r2/win32/ui.h:104: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 connectHostname[R_NAME_MAX]; // UIconnectServer
data/xevil-2.02r2/win32/ui.h:107: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 humanName[IT_STRING_LENGTH]; // UIconnectServer, UIrunServer
data/xevil-2.02r2/win32/ui.h:110: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 chatReceiver[IT_STRING_LENGTH]; // UIchatRequest
data/xevil-2.02r2/win32/ui.h:111: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 chatMessage[UI_CHAT_MESSAGE_MAX + 1]; // UIchatRequest
data/xevil-2.02r2/win32/ui.h:180:53:  [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.
  virtual void set_keyset(int dpyNum,UIkeyset basis,char right[UI_KEYS_MAX][2],
data/xevil-2.02r2/win32/ui.h:181:4:  [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 left[UI_KEYS_MAX][2]);
data/xevil-2.02r2/win32/uiplayer.cpp:143:30:  [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.
UiPlayer::UiPlayer(int *argc,char **argv, WorldP w, LocatorP l,char **,char *,
data/xevil-2.02r2/win32/uiplayer.cpp:143:64:  [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.
UiPlayer::UiPlayer(int *argc,char **argv, WorldP w, LocatorP l,char **,char *,
data/xevil-2.02r2/win32/uiplayer.cpp:143:72:  [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.
UiPlayer::UiPlayer(int *argc,char **argv, WorldP w, LocatorP l,char **,char *,
data/xevil-2.02r2/win32/uiplayer.cpp:1525:11:  [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).
    t_src=fopen(t_oldfilename.GetBuffer(0),"rb");
data/xevil-2.02r2/win32/uiplayer.cpp:1526:12:  [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).
    t_dest=fopen(t_newfilename.GetBuffer(0),"wb");
data/xevil-2.02r2/win32/uiplayer.cpp:2518:20:  [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).
        FILE* fp = fopen(filename,"w");
data/xevil-2.02r2/win32/uiplayer.h:72:22:  [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.
  UiPlayer(int *argc,char **argv,WorldP w,LocatorP l,
data/xevil-2.02r2/win32/uiplayer.h:73:4:  [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 **,char *,SoundManagerP s,DifficultyLevel dLevels[DIFFICULTY_LEVELS_NUM],
data/xevil-2.02r2/win32/uiplayer.h:73:12:  [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 **,char *,SoundManagerP s,DifficultyLevel dLevels[DIFFICULTY_LEVELS_NUM],
data/xevil-2.02r2/win32/uiplayer.h:275:12:  [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.
  unsigned char keycodes[2][UI_KEYS_MAX]; 
data/xevil-2.02r2/win32/uiplayer.h:288: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 *arenaMessage[UI_VIEWPORTS_MAX];  // a message or NULL.
data/xevil-2.02r2/win32/xdata.cpp:464:5:  [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(m_pWinPalette,lpbi->m_palette,PALENTRIES * sizeof(PALETTEENTRY));
data/xevil-2.02r2/win32/xdata.cpp:502: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(t_surfacemem,t_bitmapbits,lpbi->biWidth);
data/xevil-2.02r2/win32/xdata.cpp:658: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(&pRgb,pvRes+i*4,4);
data/xevil-2.02r2/win32/xdata.cpp:1093:14:  [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).
  FILE* fp = fopen(filename,"w");
data/xevil-2.02r2/win32/xevil.cpp:81: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.
	p_argv=new char *[MAX_COMMANDLINEPARAMETERS];
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:382:14:  [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).
  FILE* fp = fopen(rcFilename,"r");
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:398:16:  [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).
    FILE* fp = fopen(rcFilename,"w");
data/xevil-2.02r2/x11/panel.cpp:246:6:  [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[KEYSYM_BUFFER];
data/xevil-2.02r2/x11/panel.cpp:469: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 buffer[KEYSYM_BUFFER];
data/xevil-2.02r2/x11/panel.h:136: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 message[PANEL_STRING_LENGTH];
data/xevil-2.02r2/x11/panel.h:166: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 prompt[PANEL_STRING_LENGTH];
data/xevil-2.02r2/x11/panel.h:167: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 value[PANEL_STRING_LENGTH];
data/xevil-2.02r2/x11/panel.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 value[PANEL_STRING_LENGTH];
data/xevil-2.02r2/x11/serverping.cpp:97:22:  [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).
      count = Utils::atoi(value);
data/xevil-2.02r2/x11/serverping.cpp:100:24:  [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).
      timeout = Utils::atoi(value);
data/xevil-2.02r2/x11/serverping.cpp:107:27:  [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).
      clientPort = Utils::atoi(value);
data/xevil-2.02r2/x11/serverping.cpp:124:35:  [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).
    serverPort = (CMN_PORT)Utils::atoi(port + 1);
data/xevil-2.02r2/x11/serverping.cpp:156: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((void *)&serverAddr.sin_addr,(void *)hp->h_addr,hp->h_length);
data/xevil-2.02r2/x11/serverping.cpp:334: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 name[NAME_LENGTH];
data/xevil-2.02r2/x11/serverping.cpp:335: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 clientName[NAME_LENGTH];
data/xevil-2.02r2/x11/ui.cpp:183: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[80];
data/xevil-2.02r2/x11/ui.cpp:194:18:  [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.
Ui::Ui(int *agc, char **agv, WorldP w, LocatorP l,char **d_names,
data/xevil-2.02r2/x11/ui.cpp:194:51:  [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.
Ui::Ui(int *agc, char **agv, WorldP w, LocatorP l,char **d_names,
data/xevil-2.02r2/x11/ui.cpp:195:8:  [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 *font_name,SoundManager *,
data/xevil-2.02r2/x11/ui.cpp:909:35:  [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).
  ui->settings.humansNum = Utils::atoi(chPValue);
data/xevil-2.02r2/x11/ui.cpp:918:36:  [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).
  ui->settings.enemiesNum = Utils::atoi(chPValue);
data/xevil-2.02r2/x11/ui.cpp:1058: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).
  ui->settings.quanta = Utils::atoi(chPValue);
data/xevil-2.02r2/x11/ui.h:83: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 connectHostname[R_NAME_MAX]; // UIconnectServer
data/xevil-2.02r2/x11/ui.h:85: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 humanName[IT_STRING_LENGTH]; // UIconnectServer, UIrunServer
data/xevil-2.02r2/x11/ui.h:88: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 chatReceiver[IT_STRING_LENGTH]; // UIchatRequest
data/xevil-2.02r2/x11/ui.h:89: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 chatMessage[UI_CHAT_MESSAGE_MAX + 1]; // UIchatRequest
data/xevil-2.02r2/x11/ui.h:116:16:  [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.
  Ui(int *argc,char **argv,WorldP w,LocatorP l,
data/xevil-2.02r2/x11/ui.h:117:6:  [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 **displayNames,char *fontName,SoundManager *,
data/xevil-2.02r2/x11/ui.h:117:26:  [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 **displayNames,char *fontName,SoundManager *,
data/xevil-2.02r2/x11/ui.h:341:16:  [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 const char *keysNames[UI_KEYS_MAX];
data/xevil-2.02r2/x11/xdata.h:192:16:  [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 const char *humanColorNames[HUMAN_COLORS_NUM];
data/xevil-2.02r2/cmn/actual.cpp:204:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  moverId.read(in);
data/xevil-2.02r2/cmn/actual.cpp:205:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  areaPrev.read(in);
data/xevil-2.02r2/cmn/actual.cpp:385:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  area.read(in);  
data/xevil-2.02r2/cmn/actual.cpp:386:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  middle.read(in);
data/xevil-2.02r2/cmn/actual.cpp:502:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  area.read(in);  
data/xevil-2.02r2/cmn/actual.cpp:637:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  area.read(in);  
data/xevil-2.02r2/cmn/area.cpp:89:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read(in);
data/xevil-2.02r2/cmn/area.cpp:94:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Area::read(InStreamP in) {
data/xevil-2.02r2/cmn/area.cpp:96:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  pos.read(in);
data/xevil-2.02r2/cmn/area.cpp:97:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  size.read(in);
data/xevil-2.02r2/cmn/area.cpp:1092:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void ViewportInfo::read(InStreamP in) {
data/xevil-2.02r2/cmn/area.cpp:1095:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  extraSize.read(in);
data/xevil-2.02r2/cmn/area.h:90:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP);
data/xevil-2.02r2/cmn/area.h:332:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/coord.cpp:63:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Pos::read(InStreamP in) {
data/xevil-2.02r2/cmn/coord.cpp:101:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Vel::read(InStreamP in) {
data/xevil-2.02r2/cmn/coord.cpp:190:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Size::read(InStreamP in) {
data/xevil-2.02r2/cmn/coord.cpp:243:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Loc::read(InStreamP in) {
data/xevil-2.02r2/cmn/coord.cpp:449:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Dim::read(InStreamP in) {
data/xevil-2.02r2/cmn/coord.h:323:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Pos(InStreamP in) {read(in);}
data/xevil-2.02r2/cmn/coord.h:325:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/coord.h:347:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/coord.h:373:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Dim(InStreamP in) {read(in);}
data/xevil-2.02r2/cmn/coord.h:375:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/coord.h:403:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/coord.h:432:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/coord.h:469:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  RoomIndex(InStreamP in) {read(in);}
data/xevil-2.02r2/cmn/coord.h:470:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in) 
data/xevil-2.02r2/cmn/coord.h:490:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Rooms(InStreamP in) {read(in);}
data/xevil-2.02r2/cmn/coord.h:491:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in) 
data/xevil-2.02r2/cmn/game.cpp:570:15:  [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 (!Utils::strlen(oneItem) && !noItems && !oneEach) {
data/xevil-2.02r2/cmn/game.cpp:608:19:  [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).
  else if (Utils::strlen(oneItem)) {
data/xevil-2.02r2/cmn/game.cpp:633:7:  [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(oneItem) || oneEach) {
data/xevil-2.02r2/cmn/game.cpp:1553:18:  [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 (Utils::strlen(settings.humanName)) {
data/xevil-2.02r2/cmn/game.cpp:2749:5:  [1] (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 character.
    strcpy(displayNames[n],"");
data/xevil-2.02r2/cmn/game.cpp:2758: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).
      assert(strlen(argv[n+1]) < Xvars::DISPLAY_NAME_LENGTH);
data/xevil-2.02r2/cmn/game.cpp:2768:18:  [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).
          assert(strlen(argv[n+1]) < Xvars::DISPLAY_NAME_LENGTH);
data/xevil-2.02r2/cmn/game.cpp:2888:12:  [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).
    Utils::strlen(humanNames[h]) ? 
data/xevil-2.02r2/cmn/id.cpp:46:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Identifier::read(InStreamP in) {
data/xevil-2.02r2/cmn/id.h:37:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/id.h:53:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Identifier(InStreamP in) {read(in);}
data/xevil-2.02r2/cmn/intel.cpp:92:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void IntelStatus::read(InStreamP in) {
data/xevil-2.02r2/cmn/intel.cpp:241:17:  [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).
  assert(Utils::strlen(name) < IT_STRING_LENGTH);
data/xevil-2.02r2/cmn/intel.cpp:292:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  intelStatus.read(in);
data/xevil-2.02r2/cmn/intel.cpp:301:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  id.read(in);
data/xevil-2.02r2/cmn/intel.cpp:304:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  intelId.read(in);
data/xevil-2.02r2/cmn/intel.cpp:388: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).
  assert(newName && (strlen(newName) < IT_STRING_LENGTH));
data/xevil-2.02r2/cmn/intel.h:112:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP);
data/xevil-2.02r2/cmn/physical.cpp:189:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    id.read(in);
data/xevil-2.02r2/cmn/physical.cpp:223:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  iId.read(in);
data/xevil-2.02r2/cmn/physical.cpp:810:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  area.read(in);
data/xevil-2.02r2/cmn/physical.cpp:1037:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  rawPos.read(in);
data/xevil-2.02r2/cmn/physical.cpp:1040:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  area.read(in);
data/xevil-2.02r2/cmn/physical.cpp:1073:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  protection.read(in);
data/xevil-2.02r2/cmn/physical.cpp:1075:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  vel.read(in);
data/xevil-2.02r2/cmn/physical.cpp:2406:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  holderId.read(in);
data/xevil-2.02r2/cmn/physical.cpp:9469:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  next.read(in);
data/xevil-2.02r2/cmn/role.cpp:142:23:  [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).
  int senLen = Utils::strlen(sender);
data/xevil-2.02r2/cmn/role.cpp:143:23:  [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).
  int msgLen = Utils::strlen(message);
data/xevil-2.02r2/cmn/role.cpp:562:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(serverName,sName,R_NAME_MAX);
data/xevil-2.02r2/cmn/role.cpp:1392:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in->read(msg,length);
data/xevil-2.02r2/cmn/role.cpp:1416:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in->read(msg,length);
data/xevil-2.02r2/cmn/role.cpp:1431:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  request.read(in);
data/xevil-2.02r2/cmn/role.cpp:1445:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  senderId.read(in);
data/xevil-2.02r2/cmn/role.cpp:1496:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(clientName,cName,R_NAME_MAX); // why not dynamic alloc string?
data/xevil-2.02r2/cmn/role.cpp:1959: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 (Utils::strlen(cn->get_human_name())) {
data/xevil-2.02r2/cmn/role.cpp:2680:17:  [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).
      int len = strlen(timeStr);
data/xevil-2.02r2/cmn/role.cpp:2785:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        tcpIn->read(buf,length);
data/xevil-2.02r2/cmn/role.cpp:2792:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      vInfo.read(tcpIn);
data/xevil-2.02r2/cmn/role.cpp:3138: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 (Utils::strlen(receiver)) {
data/xevil-2.02r2/cmn/role.cpp:3164: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 (Utils::strlen(message) > 0) {
data/xevil-2.02r2/cmn/sound_cmn.cpp:40:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void SoundRequest::read(InStreamP in) {
data/xevil-2.02r2/cmn/sound_cmn.cpp:41:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  pos.read(in);
data/xevil-2.02r2/cmn/sound_cmn.h:48:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in);
data/xevil-2.02r2/cmn/streams.cpp:89:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Boolean NetInStream::read(void *buf,int size) {
data/xevil-2.02r2/cmn/streams.cpp:115:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(&byte,1)) {
data/xevil-2.02r2/cmn/streams.cpp:134:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(bytes,2)) {
data/xevil-2.02r2/cmn/streams.cpp:156:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(bytes,4)) {
data/xevil-2.02r2/cmn/streams.cpp:337:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (!read((u_char *)data,XETP::VERSION_LENGTH)) {
data/xevil-2.02r2/cmn/streams.cpp:391:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
Boolean UDPInStream::read(void *buf,int size) {
data/xevil-2.02r2/cmn/streams.h:76:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual Boolean read(void *buf,int size) = 0;
data/xevil-2.02r2/cmn/streams.h:132:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual Boolean read(void *buf,int size);
data/xevil-2.02r2/cmn/streams.h:219:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual Boolean read(void *buf,int size);
data/xevil-2.02r2/cmn/utils.cpp:211:20:  [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).
    ret = new char[strlen(str)+1];
data/xevil-2.02r2/cmn/utils.cpp:310:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in->read(buffer,l);
data/xevil-2.02r2/cmn/utils.cpp:316:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in->read(b,l);
data/xevil-2.02r2/cmn/utils.cpp:327:5:  [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).
    strlen(msg);         // string itself.
data/xevil-2.02r2/cmn/utils.cpp:334: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).
  int len = strlen(msg);
data/xevil-2.02r2/cmn/utils.cpp:373: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).
  int len = strlen(ffName);
data/xevil-2.02r2/cmn/utils.cpp:462:18:  [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 (Utils::strlen(osInfo.szCSDVersion) && 
data/xevil-2.02r2/cmn/utils.cpp:488:27:  [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).
      int strLen = Utils::strlen(buffer);
data/xevil-2.02r2/cmn/utils.h:231: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).
  static int strlen(const char* cs)
data/xevil-2.02r2/cmn/utils.h:232:27:  [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).
    {assert(cs); return ::strlen(cs);}
data/xevil-2.02r2/cmn/utils.h:252:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  static void strncpy(char* s,const char* ct,int n)
data/xevil-2.02r2/cmn/utils.h:253:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    {::strncpy(s,ct,(size_t)n);}
data/xevil-2.02r2/cmn/world.cpp:727:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  area.read(in);
data/xevil-2.02r2/cmn/world.cpp:728:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  moverId.read(in);
data/xevil-2.02r2/cmn/world.cpp:729:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  physMoverId.read(in);
data/xevil-2.02r2/cmn/world.cpp:886:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
UnionSquare *UnionSquare::read(InStreamP in,WorldP world) {
data/xevil-2.02r2/cmn/world.cpp:895:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret->pSquare.loc.read(in);
data/xevil-2.02r2/cmn/world.cpp:901:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret->dSquare.dest.read(in);
data/xevil-2.02r2/cmn/world.cpp:1711:16:  [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 ((int)strlen(buffer) < dim.colMax) {
data/xevil-2.02r2/cmn/world.cpp:1889:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    loc.read(in);
data/xevil-2.02r2/cmn/world.cpp:1893:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unionSquares[loc.r][loc.c] = UnionSquare::read(in,this);
data/xevil-2.02r2/cmn/world.cpp:2025:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void World::read(InStreamP in,const RoomIndex &idx) {
data/xevil-2.02r2/cmn/world.h:236:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static UnionSquare *read(InStreamP,WorldP);
data/xevil-2.02r2/cmn/world.h:409:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(InStreamP in,const RoomIndex &idx);
data/xevil-2.02r2/cmn/xetp.cpp:281:15:  [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).
  u_int len = strlen(msg);
data/xevil-2.02r2/cmn/xetp.cpp:301:5:  [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).
    strlen(msg);             // string body
data/xevil-2.02r2/win32/uiplayer.cpp:2265:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(settings.connectHostname,m_pconnect->getHostname(),R_NAME_MAX - 1);
data/xevil-2.02r2/win32/uiplayer.cpp:2268:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(settings.humanName,m_pconnect->getName(),IT_STRING_LENGTH - 1);
data/xevil-2.02r2/win32/uiplayer.cpp:2296:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(settings.humanName,m_prunserver->get_name(),IT_STRING_LENGTH - 1);
data/xevil-2.02r2/win32/uiplayer.cpp:2615:14:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      Utils::strncpy(settings.chatMessage,m_chatMessage,UI_CHAT_MESSAGE_MAX);
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:168:34:  [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).
                          Utils::strlen(buttonLabels[n]));
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:205:36:  [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).
                            Utils::strlen(optionToggleLabels[n]),1);
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:216:29:  [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).
                            strlen(optionToggleLabels[n]),1);
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:233:47:  [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).
      TextPanel::get_unit(xvars->font[dpyNum],strlen(optionTextText[n]),2);
data/xevil-2.02r2/x11/l_agreement_dlg.cpp:374:12:  [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 (home[strlen(home)-1] != '/') {
data/xevil-2.02r2/x11/panel.cpp:119:12:  [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).
    assert(strlen(msg) < PANEL_STRING_LENGTH);
data/xevil-2.02r2/x11/panel.cpp:123:5:  [1] (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 character.
    strcpy(message,"");
data/xevil-2.02r2/x11/panel.cpp:132:7:  [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(msg) >= PANEL_STRING_LENGTH) {
data/xevil-2.02r2/x11/panel.cpp:133:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(message,msg,PANEL_STRING_LENGTH - 1);
data/xevil-2.02r2/x11/panel.cpp:221:10:  [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).
  assert(strlen(pmpt) < PANEL_STRING_LENGTH);
data/xevil-2.02r2/x11/panel.cpp:223:3:  [1] (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 character.
  strcpy(value,"");
data/xevil-2.02r2/x11/panel.cpp:232:10:  [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).
  assert(strlen(val) < PANEL_STRING_LENGTH);
data/xevil-2.02r2/x11/panel.cpp:255:11:  [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) + len < PANEL_STRING_LENGTH) {
data/xevil-2.02r2/x11/panel.cpp:261:11:  [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) < PANEL_STRING_LENGTH) {
data/xevil-2.02r2/x11/panel.cpp:269:11:  [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/xevil-2.02r2/x11/panel.cpp:270:15:  [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).
		      value[strlen(value) - 1] = '\0';
data/xevil-2.02r2/x11/panel.cpp:478:18:  [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 (Utils::strlen(value) + len < PANEL_STRING_LENGTH) {
data/xevil-2.02r2/x11/panel.cpp:485:18:  [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 (Utils::strlen(value) > 0) {
data/xevil-2.02r2/x11/panel.cpp:486: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).
        value[Utils::strlen(value) - 1] = '\0';
data/xevil-2.02r2/x11/serverping.cpp:122:12:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    Utils::strncpy(serverName,sString,port - sString);
data/xevil-2.02r2/x11/serverping.cpp:342:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    id.read(udpIn);
data/xevil-2.02r2/x11/ui.cpp:1136:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  Utils::strncpy(ui->settings.chatMessage,message,UI_CHAT_MESSAGE_MAX);
data/xevil-2.02r2/x11/ui.cpp:1278:26:  [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).
            XOpenDisplay(strlen(displayNames[vNum]) ?
data/xevil-2.02r2/x11/ui.cpp:1282: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).
        if (strlen(displayNames[xvars.dpyMax])) {
data/xevil-2.02r2/x11/ui.cpp:1328: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).
        if (strlen(displayNames[vNum]))
data/xevil-2.02r2/x11/ui.cpp:1348: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).
        if (strlen(displayNames[vNum]))
data/xevil-2.02r2/x11/ui.cpp:1597:15:  [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).
	      player,strlen(player));
data/xevil-2.02r2/x11/ui.cpp:1605: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).
	      line,strlen(line));
data/xevil-2.02r2/x11/ui.cpp:1613:32:  [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 (keymaps[0][n][0][1] && strlen(XKeysymToString(keymaps[0][n][0][1])))
data/xevil-2.02r2/x11/ui.cpp:1618:11:  [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).
	      && strlen(XKeysymToString(keymaps[0][n][1][1])))
data/xevil-2.02r2/x11/ui.cpp:1625:32:  [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 (keymaps[1][n][0][1] && strlen(XKeysymToString(keymaps[1][n][0][1]))) {
data/xevil-2.02r2/x11/ui.cpp:1631:11:  [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).
	      && strlen(XKeysymToString(keymaps[1][n][1][1])))
data/xevil-2.02r2/x11/ui.cpp:1660:21:  [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).
              line2,strlen(line2));
data/xevil-2.02r2/x11/ui.cpp:1667:21:  [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).
              line3,strlen(line3));
data/xevil-2.02r2/x11/viewport.cpp:533:64:  [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).
    textSize.width = xvars.bigFont[dpyNum]->max_bounds.width * strlen(msg);
data/xevil-2.02r2/x11/viewport.cpp:549:19:  [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).
              msg,strlen(msg));
data/xevil-2.02r2/x11/viewport.cpp:557:19:  [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).
              msg,strlen(msg));
data/xevil-2.02r2/x11/viewport.cpp:1731:19:  [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).
              msg,strlen(msg));

ANALYSIS SUMMARY:

Hits = 361
Lines analyzed = 75895 in approximately 1.58 seconds (48018 lines/second)
Physical Source Lines of Code (SLOC) = 47800
Hits@level = [0]  19 [1] 151 [2] 174 [3]  12 [4]  24 [5]   0
Hits@level+ = [0+] 380 [1+] 361 [2+] 210 [3+]  36 [4+]  24 [5+]   0
Hits/KSLOC@level+ = [0+] 7.94979 [1+] 7.5523 [2+] 4.39331 [3+] 0.753138 [4+] 0.502092 [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.