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/xfe-1.43.2/i18n.h
Examining data/xfe-1.43.2/config.h
Examining data/xfe-1.43.2/intl/printf.c
Examining data/xfe-1.43.2/intl/xsize.h
Examining data/xfe-1.43.2/intl/os2compat.c
Examining data/xfe-1.43.2/intl/eval-plural.h
Examining data/xfe-1.43.2/intl/dcgettext.c
Examining data/xfe-1.43.2/intl/finddomain.c
Examining data/xfe-1.43.2/intl/langprefs.c
Examining data/xfe-1.43.2/intl/vasnwprintf.h
Examining data/xfe-1.43.2/intl/relocatable.c
Examining data/xfe-1.43.2/intl/hash-string.c
Examining data/xfe-1.43.2/intl/printf-parse.h
Examining data/xfe-1.43.2/intl/printf-args.c
Examining data/xfe-1.43.2/intl/plural.c
Examining data/xfe-1.43.2/intl/textdomain.c
Examining data/xfe-1.43.2/intl/dcigettext.c
Examining data/xfe-1.43.2/intl/vasnprintf.h
Examining data/xfe-1.43.2/intl/wprintf-parse.h
Examining data/xfe-1.43.2/intl/lock.c
Examining data/xfe-1.43.2/intl/dgettext.c
Examining data/xfe-1.43.2/intl/plural-exp.c
Examining data/xfe-1.43.2/intl/loadinfo.h
Examining data/xfe-1.43.2/intl/localcharset.c
Examining data/xfe-1.43.2/intl/os2compat.h
Examining data/xfe-1.43.2/intl/dngettext.c
Examining data/xfe-1.43.2/intl/lock.h
Examining data/xfe-1.43.2/intl/explodename.c
Examining data/xfe-1.43.2/intl/gettextP.h
Examining data/xfe-1.43.2/intl/gmo.h
Examining data/xfe-1.43.2/intl/l10nflist.c
Examining data/xfe-1.43.2/intl/version.c
Examining data/xfe-1.43.2/intl/log.c
Examining data/xfe-1.43.2/intl/gettext.c
Examining data/xfe-1.43.2/intl/relocatable.h
Examining data/xfe-1.43.2/intl/localcharset.h
Examining data/xfe-1.43.2/intl/printf-args.h
Examining data/xfe-1.43.2/intl/plural-exp.h
Examining data/xfe-1.43.2/intl/hash-string.h
Examining data/xfe-1.43.2/intl/localealias.c
Examining data/xfe-1.43.2/intl/vasnprintf.c
Examining data/xfe-1.43.2/intl/export.h
Examining data/xfe-1.43.2/intl/localename.c
Examining data/xfe-1.43.2/intl/bindtextdom.c
Examining data/xfe-1.43.2/intl/printf-parse.c
Examining data/xfe-1.43.2/intl/ngettext.c
Examining data/xfe-1.43.2/intl/loadmsgcat.c
Examining data/xfe-1.43.2/intl/dcngettext.c
Examining data/xfe-1.43.2/intl/intl-compat.c
Examining data/xfe-1.43.2/intl/osdep.c
Examining data/xfe-1.43.2/intl/intl-exports.c
Examining data/xfe-1.43.2/st/st.h
Examining data/xfe-1.43.2/st/config.h
Examining data/xfe-1.43.2/st/arg.h
Examining data/xfe-1.43.2/st/st.c
Examining data/xfe-1.43.2/libsn/sn-util.h
Examining data/xfe-1.43.2/libsn/sn-launcher.c
Examining data/xfe-1.43.2/libsn/sn-xmessages.c
Examining data/xfe-1.43.2/libsn/sn-launchee.c
Examining data/xfe-1.43.2/libsn/sn-internals.h
Examining data/xfe-1.43.2/libsn/sn-list.c
Examining data/xfe-1.43.2/libsn/sn-util.c
Examining data/xfe-1.43.2/libsn/sn-common.c
Examining data/xfe-1.43.2/libsn/sn-monitor.h
Examining data/xfe-1.43.2/libsn/sn-launchee.h
Examining data/xfe-1.43.2/libsn/sn.h
Examining data/xfe-1.43.2/libsn/sn-monitor.c
Examining data/xfe-1.43.2/libsn/sn-common.h
Examining data/xfe-1.43.2/libsn/sn-xutils.h
Examining data/xfe-1.43.2/libsn/sn-launcher.h
Examining data/xfe-1.43.2/libsn/sn-xmessages.h
Examining data/xfe-1.43.2/libsn/sn-list.h
Examining data/xfe-1.43.2/libsn/sn-xutils.c
Examining data/xfe-1.43.2/src/BrowseInputDialog.cpp
Examining data/xfe-1.43.2/src/OverwriteBox.h
Examining data/xfe-1.43.2/src/ExecuteBox.h
Examining data/xfe-1.43.2/src/XFileWrite.cpp
Examining data/xfe-1.43.2/src/XFilePackage.cpp
Examining data/xfe-1.43.2/src/InputDialog.h
Examining data/xfe-1.43.2/src/HistInputDialog.h
Examining data/xfe-1.43.2/src/FileList.h
Examining data/xfe-1.43.2/src/MessageBox.h
Examining data/xfe-1.43.2/src/TextWindow.h
Examining data/xfe-1.43.2/src/XFileImage.h
Examining data/xfe-1.43.2/src/StringList.h
Examining data/xfe-1.43.2/src/help.h
Examining data/xfe-1.43.2/src/TextWindow.cpp
Examining data/xfe-1.43.2/src/FileDialog.h
Examining data/xfe-1.43.2/src/OverwriteBox.cpp
Examining data/xfe-1.43.2/src/PathLinker.cpp
Examining data/xfe-1.43.2/src/DialogBox.cpp
Examining data/xfe-1.43.2/src/FileDialog.cpp
Examining data/xfe-1.43.2/src/Preferences.h
Examining data/xfe-1.43.2/src/main.cpp
Examining data/xfe-1.43.2/src/XFileWrite.h
Examining data/xfe-1.43.2/src/SearchPanel.h
Examining data/xfe-1.43.2/src/File.h
Examining data/xfe-1.43.2/src/BrowseInputDialog.h
Examining data/xfe-1.43.2/src/WriteWindow.cpp
Examining data/xfe-1.43.2/src/SearchWindow.cpp
Examining data/xfe-1.43.2/src/InputDialog.cpp
Examining data/xfe-1.43.2/src/HistInputDialog.cpp
Examining data/xfe-1.43.2/src/xfeutils.cpp
Examining data/xfe-1.43.2/src/icons.h
Examining data/xfe-1.43.2/src/IconList.h
Examining data/xfe-1.43.2/src/XFileImage.cpp
Examining data/xfe-1.43.2/src/startupnotification.cpp
Examining data/xfe-1.43.2/src/Bookmarks.cpp
Examining data/xfe-1.43.2/src/XFileExplorer.h
Examining data/xfe-1.43.2/src/FileDict.h
Examining data/xfe-1.43.2/src/CommandWindow.h
Examining data/xfe-1.43.2/src/StringList.cpp
Examining data/xfe-1.43.2/src/clearlooks.cpp
Examining data/xfe-1.43.2/src/DirList.h
Examining data/xfe-1.43.2/src/KeybindingsDialog.h
Examining data/xfe-1.43.2/src/startupnotification.h
Examining data/xfe-1.43.2/src/FileList.cpp
Examining data/xfe-1.43.2/src/CommandWindow.cpp
Examining data/xfe-1.43.2/src/ArchInputDialog.cpp
Examining data/xfe-1.43.2/src/FileDict.cpp
Examining data/xfe-1.43.2/src/FontDialog.cpp
Examining data/xfe-1.43.2/src/TextLabel.h
Examining data/xfe-1.43.2/src/WriteWindow.h
Examining data/xfe-1.43.2/src/xfeutils.h
Examining data/xfe-1.43.2/src/Keybindings.h
Examining data/xfe-1.43.2/src/File.cpp
Examining data/xfe-1.43.2/src/ArchInputDialog.h
Examining data/xfe-1.43.2/src/DirHistBox.cpp
Examining data/xfe-1.43.2/src/KeybindingsDialog.cpp
Examining data/xfe-1.43.2/src/MessageBox.cpp
Examining data/xfe-1.43.2/src/Bookmarks.h
Examining data/xfe-1.43.2/src/foxhacks.cpp
Examining data/xfe-1.43.2/src/Keybindings.cpp
Examining data/xfe-1.43.2/src/DirPanel.cpp
Examining data/xfe-1.43.2/src/Properties.h
Examining data/xfe-1.43.2/src/PathLinker.h
Examining data/xfe-1.43.2/src/IconList.cpp
Examining data/xfe-1.43.2/src/XFilePackage.h
Examining data/xfe-1.43.2/src/icons.cpp
Examining data/xfe-1.43.2/src/SearchWindow.h
Examining data/xfe-1.43.2/src/TextLabel.cpp
Examining data/xfe-1.43.2/src/DirPanel.h
Examining data/xfe-1.43.2/src/FilePanel.h
Examining data/xfe-1.43.2/src/Properties.cpp
Examining data/xfe-1.43.2/src/DirHistBox.h
Examining data/xfe-1.43.2/src/FontDialog.h
Examining data/xfe-1.43.2/src/ExecuteBox.cpp
Examining data/xfe-1.43.2/src/DialogBox.h
Examining data/xfe-1.43.2/src/xfedefs.h
Examining data/xfe-1.43.2/src/DirList.cpp
Examining data/xfe-1.43.2/src/Preferences.cpp
Examining data/xfe-1.43.2/src/XFileExplorer.cpp
Examining data/xfe-1.43.2/src/FilePanel.cpp
Examining data/xfe-1.43.2/src/SearchPanel.cpp

FINAL RESULTS:

data/xfe-1.43.2/src/File.cpp:632:23:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
                    ::chmod(target.text(), info.st_mode|S_IWUSR);
data/xfe-1.43.2/src/File.cpp:1588:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
int File::chmod(char* path, char* file, mode_t mode, FXbool rec, const FXbool dironly, const FXbool fileonly)
data/xfe-1.43.2/src/File.cpp:1636:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        return(::chmod(path, mode));
data/xfe-1.43.2/src/File.cpp:1664:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            if (::chmod(path, mode)) // Do not change recursively
data/xfe-1.43.2/src/File.cpp:1728:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        return(::chmod(path, mode));
data/xfe-1.43.2/src/File.cpp:1777:18:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        return(::chmod(path, mode));
data/xfe-1.43.2/src/File.cpp:1788:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
int File::chown(char* path, char* file, uid_t uid, gid_t gid, const FXbool rec, const FXbool dironly, const FXbool fileonly)
data/xfe-1.43.2/src/File.h:129:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    int chmod(char* path, char* file, mode_t mode, const FXbool rec, const FXbool dironly = false, const FXbool fileonly = false);
data/xfe-1.43.2/src/File.h:130:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    int chown(char* path, char* file, uid_t uid, gid_t gid, const FXbool rec, const FXbool dironly = false, const FXbool fileonly = false);
data/xfe-1.43.2/src/FileDialog.cpp:1067:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            if (chmod(filename.text(), 438 & ~mask) != 0)
data/xfe-1.43.2/src/FilePanel.cpp:3682:22:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            int rc = chmod(filename.text(), 438 & ~mask);
data/xfe-1.43.2/src/Properties.cpp:1492:17:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
        rc = f->chown((char*)targetpath.text(), file, uid, gid, perm->rec->getCheck(), perm->dironly->getCheck(), perm->fileonly->getCheck());
data/xfe-1.43.2/src/Properties.cpp:1572:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        rc = f->chmod((char*)targetpath.text(), file, m, perm->rec->getCheck(), perm->dironly->getCheck(), perm->fileonly->getCheck());
data/xfe-1.43.2/src/Properties.cpp:1693:21:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
            rc = f->chown((char*)pathname.text(), file, uid, gid, perm->rec->getCheck(), perm->dironly->getCheck(), perm->fileonly->getCheck());
data/xfe-1.43.2/src/Properties.cpp:1778:25:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
                rc = f->chmod((char*)pathname.text(), file, m, perm->rec->getCheck(), perm->dironly->getCheck(), perm->fileonly->getCheck());
data/xfe-1.43.2/src/xfeutils.cpp:1529:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
    int len = readlink(file.text(), lnk, MAXPATHLEN);
data/xfe-1.43.2/intl/dcigettext.c:800:21:  [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 (new_localename, localename);
data/xfe-1.43.2/intl/langprefs.c:107:33:  [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, buf);
data/xfe-1.43.2/intl/localcharset.c:197:17:  [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 (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/xfe-1.43.2/intl/localcharset.c:198:17:  [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 (res_ptr + res_size - (l2 + 1), buf2);
data/xfe-1.43.2/intl/localename.c:925:13:  [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 (name, legacy_table[i1].unixy);
data/xfe-1.43.2/intl/localename.c:949:13:  [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 (name, langtag_table[i1].unixy);
data/xfe-1.43.2/intl/localename.c:969:13:  [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 (name + 3, script_table[i1].unixy);
data/xfe-1.43.2/intl/log.c:86: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 (last_logfilename, logfilename);
data/xfe-1.43.2/intl/os2compat.c:97: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 (libintl_nl_default_dirname, _nlos2_localedir);
data/xfe-1.43.2/intl/plural.c:528:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define YYFPRINTF fprintf
data/xfe-1.43.2/intl/printf.c:98:16:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        return vfprintf (stream, format, args);
data/xfe-1.43.2/intl/printf.c:158:16:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
        return vsprintf (resultbuf, format, args);
data/xfe-1.43.2/intl/printf.c:198:28:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define system_vsnprintf vsnprintf
data/xfe-1.43.2/intl/printf.c:304:28:  [4] (buffer) vswprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define system_vswprintf vswprintf
data/xfe-1.43.2/intl/printf.c:312:16:  [4] (format) vfwprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        return vfwprintf (stream, format, args);
data/xfe-1.43.2/intl/relocatable.c:460:17:  [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 (result + curr_prefix_len, pathname_tail);
data/xfe-1.43.2/intl/vasnprintf.c:89:20:  [4] (buffer) swprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define SNPRINTF swprintf
data/xfe-1.43.2/intl/vasnprintf.c:100:20:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define SNPRINTF _snprintf
data/xfe-1.43.2/intl/vasnprintf.c:103:20:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#  define SNPRINTF snprintf
data/xfe-1.43.2/intl/vasnprintf.c:629:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			count = sprintf (tmp, buf, arg);		    \
data/xfe-1.43.2/intl/vasnprintf.c:632:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			count = sprintf (tmp, buf, prefixes[0], arg);	    \
data/xfe-1.43.2/intl/vasnprintf.c:635:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/xfe-1.43.2/intl/vasnprintf.h:37:22:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#  define __printf__ printf
data/xfe-1.43.2/libsn/sn-launcher.c:372:3:  [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 (startup_id, context->startup_id);
data/xfe-1.43.2/libsn/sn-util.c:260: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 (s, str);
data/xfe-1.43.2/libsn/sn-util.c:379: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 (end, append);
data/xfe-1.43.2/src/CommandWindow.cpp:210:9:  [4] (shell) execvp:
  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.
        execvp(args[0], args);           // Start a new process which will execute the command.
data/xfe-1.43.2/src/DirPanel.cpp:2642:11:  [4] (shell) system:
  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.
    ret = system(cmd.text());
data/xfe-1.43.2/src/File.cpp:2079:18:  [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* pcmd = popen(cmd.text(), "r");
data/xfe-1.43.2/src/FilePanel.cpp:4695:11:  [4] (shell) system:
  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.
    ret = system(cmd.text());
data/xfe-1.43.2/src/FilePanel.cpp:5660:9:  [4] (shell) execl:
  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.
        execl("/bin/sh", "sh", "-c", cmd.text(), (char*)NULL);
data/xfe-1.43.2/src/FilePanel.cpp:5941:18:  [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* pcmd = popen(cmd.text(), "r");
data/xfe-1.43.2/src/Properties.cpp:394:17:  [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.
            p = popen(buf, "r");
data/xfe-1.43.2/src/SearchPanel.cpp:4399:18:  [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* pcmd = popen(cmd.text(), "r");
data/xfe-1.43.2/src/SearchWindow.cpp:840:9:  [4] (shell) execvp:
  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.
        execvp(args[0], args);           // Start a new process which will execute the command
data/xfe-1.43.2/src/WriteWindow.cpp:1872:15:  [4] (shell) system:
  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.
    int ret = system(command.text());
data/xfe-1.43.2/src/XFileExplorer.cpp:3087:9:  [4] (shell) execvp:
  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.
        execvp("xfe", args);
data/xfe-1.43.2/src/XFileExplorer.cpp:3102:15:  [4] (shell) system:
  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.
    int ret = system(cmd.text());
data/xfe-1.43.2/src/XFileExplorer.cpp:3141:11:  [4] (shell) system:
  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.
    ret = system(cmd.text());
data/xfe-1.43.2/src/XFileExplorer.cpp:3744:21:  [4] (shell) system:
  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.
                ret=system(command.text());
data/xfe-1.43.2/src/XFileImage.cpp:1588:15:  [4] (shell) system:
  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.
    int ret = system(command.text());
data/xfe-1.43.2/src/XFileImage.cpp:2194:9:  [4] (shell) execvp:
  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.
        execvp("xfi", args);
data/xfe-1.43.2/src/XFileImage.cpp:2681:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stdout, USAGE_MSG);
data/xfe-1.43.2/src/XFilePackage.cpp:447:18:  [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* pcmd = popen(cmd.text(), "r");
data/xfe-1.43.2/src/XFilePackage.cpp:511:18:  [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* pcmd = popen(cmd.text(), "r");
data/xfe-1.43.2/src/XFilePackage.cpp:715:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stdout, USAGE_MSG);
data/xfe-1.43.2/src/XFileWrite.cpp:274:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stdout, USAGE_MSG);
data/xfe-1.43.2/src/foxhacks.cpp:3676:15:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
        len = vsprintf(str, fmt, args);
data/xfe-1.43.2/src/main.cpp:372:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stdout, USAGE_MSG);
data/xfe-1.43.2/src/startupnotification.cpp:169:13:  [4] (shell) execl:
  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.
            execl("/bin/sh", "sh", "-c", cmd.text(), (char*)NULL);
data/xfe-1.43.2/src/startupnotification.cpp:182:15:  [4] (shell) system:
  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.
        ret = system(cmd.text());
data/xfe-1.43.2/src/startupnotification.cpp:240:11:  [4] (shell) system:
  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.
    ret = system(cmd.text());
data/xfe-1.43.2/src/xfeutils.cpp:591:24:  [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*    filecmd = popen(cmd.text(), "r");
data/xfe-1.43.2/src/xfeutils.cpp:1415:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        int ret = access(file.text(), R_OK|X_OK);
data/xfe-1.43.2/src/xfeutils.cpp:1442:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        int ret = access(file.text(), R_OK);
data/xfe-1.43.2/src/xfeutils.cpp:1469:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        int ret = access(file.text(), W_OK);
data/xfe-1.43.2/src/xfeutils.cpp:1720: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.
    stream = popen(cmd.text(), "r");
data/xfe-1.43.2/st/st.c:1262:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, errstr, ap);
data/xfe-1.43.2/st/st.c:1312:2:  [4] (shell) execvp:
  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.
	execvp(prog, args);
data/xfe-1.43.2/st/st.c:1357:6:  [4] (shell) system:
  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.
	if (system(cmd) != 0)
data/xfe-1.43.2/intl/dcigettext.c:156:7:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
char *getwd ();
data/xfe-1.43.2/intl/dcigettext.c:157:28:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
#  define getcwd(buf, max) getwd (buf)
data/xfe-1.43.2/intl/dcigettext.c:861:31:  [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 *logfilename = getenv ("GETTEXT_LOG_UNTRANSLATED");
data/xfe-1.43.2/intl/dcigettext.c:1525:16:  [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.
    language = getenv ("LANGUAGE");
data/xfe-1.43.2/intl/dcigettext.c:1565:33:  [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 *value = getenv ("OUTPUT_CHARSET");
data/xfe-1.43.2/intl/localcharset.c:122:15:  [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.
        dir = getenv ("CHARSETALIASDIR");
data/xfe-1.43.2/intl/localcharset.c:309:18:  [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.
        locale = getenv ("LC_ALL");
data/xfe-1.43.2/intl/localcharset.c:312: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.
            locale = getenv ("LC_CTYPE");
data/xfe-1.43.2/intl/localcharset.c:314:26:  [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.
                locale = getenv ("LANG");
data/xfe-1.43.2/intl/localcharset.c:360:18:  [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.
        locale = getenv ("LC_ALL");
data/xfe-1.43.2/intl/localcharset.c:363: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.
            locale = getenv ("LC_CTYPE");
data/xfe-1.43.2/intl/localcharset.c:365:26:  [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.
                locale = getenv ("LANG");
data/xfe-1.43.2/intl/localcharset.c:393:14:  [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.
    locale = getenv ("LC_ALL");
data/xfe-1.43.2/intl/localcharset.c:396:18:  [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.
        locale = getenv ("LC_CTYPE");
data/xfe-1.43.2/intl/localcharset.c:398: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.
            locale = getenv ("LANG");
data/xfe-1.43.2/intl/localename.c:1012:14:  [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.
    retval = getenv ("LC_ALL");
data/xfe-1.43.2/intl/localename.c:1016:14:  [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.
    retval = getenv (categoryname);
data/xfe-1.43.2/intl/localename.c:1020:14:  [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.
    retval = getenv ("LANG");
data/xfe-1.43.2/intl/lock.c:525:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:543:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:654:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:675:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:705:17:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
                EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:728:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:757:17:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
                EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:771:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:828:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:850:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection (&lock->lock);
data/xfe-1.43.2/intl/lock.c:891:13:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
            InitializeCriticalSection (&once_control->lock);
data/xfe-1.43.2/intl/lock.c:892:13:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
            EnterCriticalSection (&once_control->lock);
data/xfe-1.43.2/intl/lock.c:911:17:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
                EnterCriticalSection (&once_control->lock);
data/xfe-1.43.2/intl/os2compat.c:51:18:  [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.
    char *root = getenv ("UNIXROOT");
data/xfe-1.43.2/intl/os2compat.c:52:26:  [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.
    char *gnulocaledir = getenv ("GNULOCALEDIR");
data/xfe-1.43.2/intl/os2compat.h:43:9:  [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.
#define getenv _nl_getenv
data/xfe-1.43.2/libsn/sn-launchee.c:86: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.
  id_str = getenv ("DESKTOP_STARTUP_ID");
data/xfe-1.43.2/src/XFileImage.cpp:2637:19:  [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.
    xdgdatahome = getenv("XDG_DATA_HOME");
data/xfe-1.43.2/src/XFileImage.cpp:2642:21:  [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.
    xdgconfighome = getenv("XDG_CONFIG_HOME");
data/xfe-1.43.2/src/XFileImage.cpp:2649:18:  [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.
    xmodifiers = getenv("XMODIFIERS");
data/xfe-1.43.2/src/XFilePackage.cpp:671:19:  [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.
    xdgdatahome = getenv("XDG_DATA_HOME");
data/xfe-1.43.2/src/XFilePackage.cpp:676:21:  [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.
    xdgconfighome = getenv("XDG_CONFIG_HOME");
data/xfe-1.43.2/src/XFilePackage.cpp:683:18:  [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.
    xmodifiers = getenv("XMODIFIERS");
data/xfe-1.43.2/src/XFileWrite.cpp:170:19:  [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.
    xdgdatahome = getenv("XDG_DATA_HOME");
data/xfe-1.43.2/src/XFileWrite.cpp:175:21:  [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.
    xdgconfighome = getenv("XDG_CONFIG_HOME");
data/xfe-1.43.2/src/XFileWrite.cpp:182:18:  [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.
    xmodifiers = getenv("XMODIFIERS");
data/xfe-1.43.2/src/main.cpp:299:19:  [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.
    xdgdatahome = getenv("XDG_DATA_HOME");
data/xfe-1.43.2/src/main.cpp:304:21:  [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.
    xdgconfighome = getenv("XDG_CONFIG_HOME");
data/xfe-1.43.2/src/main.cpp:311:18:  [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.
    xmodifiers = getenv("XMODIFIERS");
data/xfe-1.43.2/st/st.c:1281:13:  [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.
	if (!(sh = getenv("SHELL"))) {
data/xfe-1.43.2/intl/bindtextdom.c:155:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy (result, dirname, len);
data/xfe-1.43.2/intl/bindtextdom.c:193:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy (result, codeset, len);
data/xfe-1.43.2/intl/bindtextdom.c:228:9:  [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 (new_binding->domainname, domainname, len);
data/xfe-1.43.2/intl/bindtextdom.c:253:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    memcpy (result, dirname, len);
data/xfe-1.43.2/intl/bindtextdom.c:282:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result, codeset, len);
data/xfe-1.43.2/intl/dcigettext.c:263: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 msgid[ZERO];
data/xfe-1.43.2/intl/dcigettext.c:421: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 data[ZERO];
data/xfe-1.43.2/intl/dcigettext.c:548: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 (search->msgid, msgid1, msgid_len);
data/xfe-1.43.2/intl/dcigettext.c:797:21:  [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 (new_domainname, domainname, domainname_len + 1);
data/xfe-1.43.2/intl/dcigettext.c:1098:25:  [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 (charset, charsetstr, len);
data/xfe-1.43.2/intl/dcigettext.c:1132:29:  [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 (tmp, outcharset, len);
data/xfe-1.43.2/intl/dcigettext.c:1133:29:  [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 (tmp + len, "//TRANSLIT", 10 + 1);
data/xfe-1.43.2/intl/dcigettext.c:1573:21:  [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 (value_copy, value, len);
data/xfe-1.43.2/intl/dcigettext.c:1616:31:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return (void *) ((char *) memcpy (dest, src, n) + n);
data/xfe-1.43.2/intl/finddomain.c:139:9:  [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 (locale, alias_value, len);
data/xfe-1.43.2/intl/gettextP.h:204: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 domainname[ZERO];
data/xfe-1.43.2/intl/l10nflist.c:214:9:  [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 (cp, dirlist, dirlist_len);
data/xfe-1.43.2/intl/langprefs.c:62:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[256];
data/xfe-1.43.2/intl/loadmsgcat.c:468: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).
# define open(name, flags)	open_not_cancel_2 (name, flags)
data/xfe-1.43.2/intl/loadmsgcat.c:828: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).
    fd = open (domain_file->filename, O_RDONLY | O_BINARY);
data/xfe-1.43.2/intl/loadmsgcat.c:1179:45:  [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 (mem, static_segments, segsize);
data/xfe-1.43.2/intl/loadmsgcat.c:1188:41:  [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 (mem, sysdep_segment_values[sysdepref], n);
data/xfe-1.43.2/intl/localcharset.c:134:17:  [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 (file_name, dir, dir_len);
data/xfe-1.43.2/intl/localcharset.c:137:17:  [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 (file_name + dir_len + add_slash, base, base_len + 1);
data/xfe-1.43.2/intl/localcharset.c:141:40:  [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).
        if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
data/xfe-1.43.2/intl/localcharset.c:153:17:  [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 buf1[50+1];
data/xfe-1.43.2/intl/localcharset.c:154:17:  [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 buf2[50+1];
data/xfe-1.43.2/intl/localcharset.c:307: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 char buf[2 + 10 + 1];
data/xfe-1.43.2/intl/localcharset.c:333:21:  [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, dot, modifier - dot);
data/xfe-1.43.2/intl/localcharset.c:378: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.
    static char buf[2 + 10 + 1];
data/xfe-1.43.2/intl/localcharset.c:387: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.
    static char buf[2 + 10 + 1];
data/xfe-1.43.2/intl/localcharset.c:416:17:  [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, dot, modifier - dot);
data/xfe-1.43.2/intl/localealias.c:230: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 (full_fname, fname, fname_len);
data/xfe-1.43.2/intl/localealias.c:231: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 (&full_fname[fname_len], aliasfile, sizeof aliasfile);
data/xfe-1.43.2/intl/localealias.c:237:10:  [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).
    fp = fopen (relocate (full_fname), "rc");
data/xfe-1.43.2/intl/localealias.c:239:10:  [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).
    fp = fopen (relocate (full_fname), "r");
data/xfe-1.43.2/intl/localealias.c:260: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 buf[400];
data/xfe-1.43.2/intl/localealias.c:352:39:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    map[nmap].alias = memcpy (&string_space[string_space_act],
data/xfe-1.43.2/intl/localealias.c:356:39:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                    map[nmap].value = memcpy (&string_space[string_space_act],
data/xfe-1.43.2/intl/localename.c:717:15:  [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 legacy[21+1];
data/xfe-1.43.2/intl/localename.c:718:15:  [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 unixy[5+1];
data/xfe-1.43.2/intl/localename.c:860:15:  [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 langtag[7+1];
data/xfe-1.43.2/intl/localename.c:861:15:  [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 unixy[12+1];
data/xfe-1.43.2/intl/localename.c:895:15:  [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 script[4+1];
data/xfe-1.43.2/intl/localename.c:896:15:  [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 unixy[9+1];
data/xfe-1.43.2/intl/localename.c:1061: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.
            char namebuf[256];
data/xfe-1.43.2/intl/log.c:87:24:  [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).
        last_logfile = fopen (logfilename, "a");
data/xfe-1.43.2/intl/os2compat.c:42:1:  [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 libintl_nl_default_dirname[MAXPATHLEN+1];
data/xfe-1.43.2/intl/os2compat.c:61:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (_nlos2_libdir, root, sl);
data/xfe-1.43.2/intl/os2compat.c:62:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
data/xfe-1.43.2/intl/os2compat.c:75:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (_nlos2_localealiaspath, root, sl);
data/xfe-1.43.2/intl/os2compat.c:76:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
data/xfe-1.43.2/intl/os2compat.c:89:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (_nlos2_localedir, root, sl);
data/xfe-1.43.2/intl/os2compat.c:90:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1);
data/xfe-1.43.2/intl/printf.c:217:17:  [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 (resultbuf, result, pruned_length);
data/xfe-1.43.2/intl/printf.c:386:17:  [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 (resultbuf, result, pruned_length * sizeof (wchar_t));
data/xfe-1.43.2/intl/relocatable.c:122:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (memory, orig_prefix_arg, orig_prefix_len + 1);
data/xfe-1.43.2/intl/relocatable.c:125:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (memory, curr_prefix_arg, curr_prefix_len + 1);
data/xfe-1.43.2/intl/relocatable.c:206:9:  [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 (q, curr_pathname, p - curr_pathname);
data/xfe-1.43.2/intl/relocatable.c:269:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (curr_prefix, curr_installdir, curr_prefix_len);
data/xfe-1.43.2/intl/relocatable.c:296: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 char location[MAX_PATH];
data/xfe-1.43.2/intl/relocatable.c:310:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char location_as_posix_path[2 * MAX_PATH];
data/xfe-1.43.2/intl/relocatable.c:340:10:  [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).
    fp = fopen ("/proc/self/maps", "r");
data/xfe-1.43.2/intl/relocatable.c:459:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result, curr_prefix, curr_prefix_len);
data/xfe-1.43.2/intl/textdomain.c:115:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy (new_domain, domainname, len);
data/xfe-1.43.2/intl/vasnprintf.c:201:4:  [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 (memory, result, length * sizeof (CHAR_T));		     \
data/xfe-1.43.2/intl/vasnprintf.c:213:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy (result + length, cp, n * sizeof (CHAR_T));
data/xfe-1.43.2/intl/vasnprintf.c:527:25:  [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 (p, dp->width_start, n * sizeof (CHAR_T));
data/xfe-1.43.2/intl/vasnprintf.c:533:25:  [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 (p, dp->precision_start, n * sizeof (CHAR_T));
data/xfe-1.43.2/intl/vasnprintf.c:844:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                        memcpy (result + length, tmp, count * sizeof (CHAR_T));
data/xfe-1.43.2/libsn/sn-launchee.c:184: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 *keys[2];
data/xfe-1.43.2/libsn/sn-launchee.c:185: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 *vals[2];
data/xfe-1.43.2/libsn/sn-launcher.c:172:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char hostbuf[257];
data/xfe-1.43.2/libsn/sn-launcher.c:179: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 *names[MAX_PROPS];
data/xfe-1.43.2/libsn/sn-launcher.c:180: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 *values[MAX_PROPS];  
data/xfe-1.43.2/libsn/sn-launcher.c:182: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 workspacebuf[257];
data/xfe-1.43.2/libsn/sn-launcher.c: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 screenbuf[257];
data/xfe-1.43.2/libsn/sn-launcher.c:226:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (screenbuf, "%d", context->screen);
data/xfe-1.43.2/libsn/sn-launcher.c:247:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (workspacebuf, "%d", context->workspace);
data/xfe-1.43.2/libsn/sn-launcher.c:303: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 *keys[2];
data/xfe-1.43.2/libsn/sn-launcher.c:304: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 *vals[2];
data/xfe-1.43.2/libsn/sn-launcher.c:371: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 (startup_id, "DESKTOP_STARTUP_ID=");
data/xfe-1.43.2/libsn/sn-monitor.c:402: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 *keys[2];
data/xfe-1.43.2/libsn/sn-monitor.c:403: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 *vals[2];
data/xfe-1.43.2/libsn/sn-monitor.c:792: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).
                  n = atoi (values[i]);
data/xfe-1.43.2/libsn/sn-xmessages.c:496:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[2];
data/xfe-1.43.2/src/Bookmarks.cpp:51: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 key[20];
data/xfe-1.43.2/src/Bookmarks.cpp:61:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key[20];
data/xfe-1.43.2/src/Bookmarks.cpp:74: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     key[20];
data/xfe-1.43.2/src/Bookmarks.cpp:102: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     key[20];
data/xfe-1.43.2/src/Bookmarks.cpp:154: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        key[20];
data/xfe-1.43.2/src/Bookmarks.cpp:175: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        key[20];
data/xfe-1.43.2/src/Bookmarks.cpp:176: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        _char[11] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k' };
data/xfe-1.43.2/src/CommandWindow.cpp:225:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/xfe-1.43.2/src/DirPanel.cpp:2421: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     line[1024];
data/xfe-1.43.2/src/DirPanel.cpp:2426:15:  [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).
    if ((fp = fopen(trashinfopathname.text(), "r")) != NULL)
data/xfe-1.43.2/src/DirPanel.cpp:3025: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     dsize[64];
data/xfe-1.43.2/src/File.cpp:318: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 buf[MAXPATHLEN];
data/xfe-1.43.2/src/File.cpp:348: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 buf[64];
data/xfe-1.43.2/src/File.cpp:426: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).
    if ((src = ::open(source.text(), O_RDONLY)) >= 0)
data/xfe-1.43.2/src/File.cpp:442:26:  [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 ((dst = ::open(destfile.text(), O_WRONLY|O_CREAT|O_TRUNC, info.st_mode)) >= 0)
data/xfe-1.43.2/src/File.cpp:500:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char     size[64];
data/xfe-1.43.2/src/File.cpp:1381: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 buf[MAXPATHLEN];
data/xfe-1.43.2/src/File.cpp:1405: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     size[64];
data/xfe-1.43.2/src/File.cpp:2087: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 text[10000] = { 0 };
data/xfe-1.43.2/src/FileDialog.cpp:1050:26:  [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).
            if (!(file = fopen(filename.text(), "w+")) || fclose(file))
data/xfe-1.43.2/src/FileDict.cpp:106: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                 command[COMMANDLEN];
data/xfe-1.43.2/src/FileDict.cpp:107: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                 extension[EXTENSIONLEN];
data/xfe-1.43.2/src/FileDict.cpp:108: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                 mimetype[MIMETYPELEN];
data/xfe-1.43.2/src/FileDict.cpp:109: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                 bigname[ICONNAMELEN];
data/xfe-1.43.2/src/FileDict.cpp:110: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                 bignameopen[ICONNAMELEN];
data/xfe-1.43.2/src/FileDict.cpp:111: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                 mininame[ICONNAMELEN];
data/xfe-1.43.2/src/FileDict.cpp:112: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                 mininameopen[ICONNAMELEN];
data/xfe-1.43.2/src/FileDict.cpp:286:14:  [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.
    register char        lowkey[MAXPATHLEN];
data/xfe-1.43.2/src/FileList.cpp:4423:17:  [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 size[64];
data/xfe-1.43.2/src/FileList.cpp:4826:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char     line[1024];
data/xfe-1.43.2/src/FileList.cpp:4829:35:  [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).
                        if ((fp = fopen(trashinfopathname.text(), "r")) != NULL)
data/xfe-1.43.2/src/FileList.cpp:5164:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                        char size[64];
data/xfe-1.43.2/src/FilePanel.cpp:60: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.
extern char OpenHistory[OPEN_HIST_SIZE][MAX_COMMAND_SIZE];
data/xfe-1.43.2/src/FilePanel.cpp:62: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.
extern char FilterHistory[FILTER_HIST_SIZE][MAX_PATTERN_SIZE];
data/xfe-1.43.2/src/FilePanel.cpp:2567: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     line[1024];
data/xfe-1.43.2/src/FilePanel.cpp:2572:31:  [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).
                    if ((fp = fopen(trashinfopathname.text(), "r")) != NULL)
data/xfe-1.43.2/src/FilePanel.cpp:3665:26:  [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).
            if (!(file = fopen(filename.text(), "w+")) || fclose(file))
data/xfe-1.43.2/src/FilePanel.cpp:5949: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     text[10000] = { 0 };
data/xfe-1.43.2/src/FilePanel.cpp:6126: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     usize[64];
data/xfe-1.43.2/src/IconList.cpp:2472: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    dsize[64];
data/xfe-1.43.2/src/Preferences.cpp:1257:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1303:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1362:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1413:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1464:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1520:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1571:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Preferences.cpp:1622:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/Properties.cpp:175: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        mnttype[64], used[64], avail[64], pctr[64], size[64];
data/xfe-1.43.2/src/Properties.cpp:176:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[MAXPATHLEN+1];
data/xfe-1.43.2/src/Properties.cpp:835: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     line[1024];
data/xfe-1.43.2/src/Properties.cpp:840:19:  [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).
        if ((fp = fopen(trashinfopathname.text(), "r")) != NULL)
data/xfe-1.43.2/src/Properties.cpp:934:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char        buf[MAXPATHLEN+1];
data/xfe-1.43.2/src/Properties.cpp:1186: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     file[MAXPATHLEN];
data/xfe-1.43.2/src/Properties.cpp:1622: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  file[MAXPATHLEN];
data/xfe-1.43.2/src/Properties.cpp:2030:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[1024];
data/xfe-1.43.2/src/Properties.cpp:2031: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 size[256];
data/xfe-1.43.2/src/Properties.cpp:2195: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 buf[MAXPATHLEN+1];
data/xfe-1.43.2/src/Properties.h:94: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).
    FXTextField* open;
data/xfe-1.43.2/src/Properties.h:114:67:  [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).
                      input(NULL), username(NULL), grpname(NULL), open(NULL), view(NULL), edit(NULL), descr(NULL), bigic(NULL), bigicbtn(NULL),
data/xfe-1.43.2/src/SearchPanel.cpp:48: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.
extern char OpenHistory[OPEN_HIST_SIZE][MAX_COMMAND_SIZE];
data/xfe-1.43.2/src/SearchPanel.cpp:1977: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.
            char size[64];
data/xfe-1.43.2/src/SearchPanel.cpp:4141: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     size[64];
data/xfe-1.43.2/src/SearchPanel.cpp:4407: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     text[10000] = { 0 };
data/xfe-1.43.2/src/SearchWindow.cpp:857:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     buf[4096];
data/xfe-1.43.2/src/WriteWindow.cpp:52: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, ins, ni);
data/xfe-1.43.2/src/WriteWindow.cpp:80: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, del, nd);
data/xfe-1.43.2/src/WriteWindow.cpp:108: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, del, nd);
data/xfe-1.43.2/src/WriteWindow.cpp:109: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+nd, ins, ni);
data/xfe-1.43.2/src/XFileExplorer.cpp:44:1:  [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     OpenHistory[OPEN_HIST_SIZE][MAX_COMMAND_SIZE];
data/xfe-1.43.2/src/XFileExplorer.cpp:46:1:  [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     FilterHistory[FILTER_HIST_SIZE][MAX_PATTERN_SIZE];
data/xfe-1.43.2/src/XFileExplorer.cpp:2368:26:  [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).
        FXString strtmp, open, view, edit, command;
data/xfe-1.43.2/src/XFileExplorer.cpp:3923:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXPATHLEN+1];
data/xfe-1.43.2/src/XFileExplorer.cpp:3924: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 size[64];
data/xfe-1.43.2/src/XFileExplorer.cpp:4025: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 buf[MAXPATHLEN];
data/xfe-1.43.2/src/XFileExplorer.h:48: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             RunHistory[RUN_HIST_SIZE][MAX_COMMAND_SIZE];
data/xfe-1.43.2/src/XFileImage.cpp:1272: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(file.text(), "r");
data/xfe-1.43.2/src/XFileImage.cpp:1376: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).
    if (stream.open(file, FXStreamLoad))
data/xfe-1.43.2/src/XFilePackage.cpp:453: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     text[10000] = { 0 };
data/xfe-1.43.2/src/XFilePackage.cpp:525: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 text[10000] = { 0 };
data/xfe-1.43.2/src/XFilePackage.cpp:560: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.text(), "r");
data/xfe-1.43.2/src/clearlooks.cpp:2508: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 numtext[6];
data/xfe-1.43.2/src/foxhacks.cpp:189: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    dsize[64];
data/xfe-1.43.2/src/foxhacks.cpp:978:9:  [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(&data[size], ptr, tfrsize+1);
data/xfe-1.43.2/src/foxhacks.cpp:1569:21:  [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(types, ptr, sizeof(Atom)*numitems);
data/xfe-1.43.2/src/foxhacks.cpp:1914: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[40];
data/xfe-1.43.2/src/foxhacks.cpp:1928: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[40];
data/xfe-1.43.2/src/main.cpp:41:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[64];
data/xfe-1.43.2/src/main.cpp:387: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).
                panel_mode = atoi(argv[i]);
data/xfe-1.43.2/src/xfeutils.cpp:307:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char     buffer[64];
data/xfe-1.43.2/src/xfeutils.cpp:518: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.
            char suffix[32];
data/xfe-1.43.2/src/xfeutils.cpp:569:15:  [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).
    if ((fp = fopen(trashinfopathname.text(), "w")) != NULL)
data/xfe-1.43.2/src/xfeutils.cpp:598: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     text[128] = { 0 };
data/xfe-1.43.2/src/xfeutils.cpp:766:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[MAXPATHLEN];
data/xfe-1.43.2/src/xfeutils.cpp:831: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 buf[256];
data/xfe-1.43.2/src/xfeutils.cpp:910: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 suf[64];
data/xfe-1.43.2/src/xfeutils.cpp:911:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[128];
data/xfe-1.43.2/src/xfeutils.cpp:1208:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmval.tm_sec = atoi(sec.text());
data/xfe-1.43.2/src/xfeutils.cpp:1209:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmval.tm_min = atoi(min.text());
data/xfe-1.43.2/src/xfeutils.cpp:1210:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmval.tm_hour = atoi(hour.text())-1;
data/xfe-1.43.2/src/xfeutils.cpp:1211:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmval.tm_mday = atoi(mday.text());
data/xfe-1.43.2/src/xfeutils.cpp:1212:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmval.tm_mon = atoi(mon.text())-1;
data/xfe-1.43.2/src/xfeutils.cpp:1213:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    tmval.tm_year = atoi(year.text())-1900;
data/xfe-1.43.2/src/xfeutils.cpp:1508: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 result[11];
data/xfe-1.43.2/src/xfeutils.cpp:1528: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 lnk[MAXPATHLEN+1];
data/xfe-1.43.2/src/xfeutils.cpp:1716: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[max_buffer];
data/xfe-1.43.2/src/xfeutils.cpp:1759: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).
            if (str.open(iconfile, FXStreamLoad))
data/xfe-1.43.2/st/st.c:265: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 buf[ESC_BUF_SIZ]; /* raw string */
data/xfe-1.43.2/st/st.c:270: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 mode[2];
data/xfe-1.43.2/st/st.c:277: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 buf[STR_BUF_SIZ]; /* raw string */
data/xfe-1.43.2/st/st.c:279: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 *args[STR_ARG_SIZ];
data/xfe-1.43.2/st/st.c:296: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 trantbl[4]; /* charset table translation */
data/xfe-1.43.2/st/st.c:902: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 buf[40];
data/xfe-1.43.2/st/st.c:1271: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 buf[sizeof(long) * 8 + 1];
data/xfe-1.43.2/st/st.c:1340: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 cmd[_POSIX_ARG_MAX], **p, *q, *s;
data/xfe-1.43.2/st/st.c:1345:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(cmd, stty_args, n);
data/xfe-1.43.2/st/st.c:1352: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.
		q = memcpy(q, s, n);
data/xfe-1.43.2/st/st.c:1370:6:  [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).
			  open(opt_io, O_WRONLY | O_CREAT, 0666);
data/xfe-1.43.2/st/st.c:1378: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).
		if((cmdfd = open(opt_line, O_RDWR)) < 0)
data/xfe-1.43.2/st/st.c:1419:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char buf[BUFSIZ];
data/xfe-1.43.2/st/st.c:1710:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char *vt100_0[62] = { /* 0x41 - 0x7e */
data/xfe-1.43.2/st/st.c:2114: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 buf[40];
data/xfe-1.43.2/st/st.c:2356:34:  [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).
	par = (narg = strescseq.narg) ? atoi(strescseq.args[0]) : 0;
data/xfe-1.43.2/st/st.c:2373:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			j = (narg > 1) ? atoi(strescseq.args[1]) : -1;
data/xfe-1.43.2/st/st.c:2487: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 buf[UTF_SIZ];
data/xfe-1.43.2/st/st.c:2748: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 c[UTF_SIZ];
data/xfe-1.43.2/st/st.c:2755: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(c, "\357\277\275", 4); /* UTF_INVALID */
data/xfe-1.43.2/st/st.c:3916: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 buf[32], *customkey;
data/xfe-1.43.2/intl/bindtextdom.c:152:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        size_t len = strlen (dirname) + 1;
data/xfe-1.43.2/intl/bindtextdom.c:190: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).
                    size_t len = strlen (codeset) + 1;
data/xfe-1.43.2/intl/bindtextdom.c:221:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = strlen (domainname) + 1;
data/xfe-1.43.2/intl/bindtextdom.c:249: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).
                    size_t len = strlen (dirname) + 1;
data/xfe-1.43.2/intl/bindtextdom.c:278:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size_t len = strlen (codeset) + 1;
data/xfe-1.43.2/intl/dcigettext.c:542: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).
    msgid_len = strlen (msgid1) + 1;
data/xfe-1.43.2/intl/dcigettext.c:639:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t dirname_len = strlen (dirname) + 1;
data/xfe-1.43.2/intl/dcigettext.c:681: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).
domainname_len = strlen (domainname);
data/xfe-1.43.2/intl/dcigettext.c:682: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).
xdomainname = (char *) alloca (strlen (categoryname)
data/xfe-1.43.2/intl/dcigettext.c:691: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).
single_locale = (char *) alloca (strlen (categoryvalue) + 1);
data/xfe-1.43.2/intl/dcigettext.c:786:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size += strlen (localename) + 1;
data/xfe-1.43.2/intl/dcigettext.c:914: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).
        nls_uint32 len = strlen (msgid);
data/xfe-1.43.2/intl/dcigettext.c:1091:39:  [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).
                        charsetstr += strlen ("charset=");
data/xfe-1.43.2/intl/dcigettext.c:1130:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            len = strlen (outcharset);
data/xfe-1.43.2/intl/dcigettext.c:1569:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                size_t len = strlen (value) + 1;
data/xfe-1.43.2/intl/eval-plural.h:88:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            case equal:
data/xfe-1.43.2/intl/finddomain.c:94: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).
                                 strlen (dirname) + 1, 0, locale, NULL, NULL,
data/xfe-1.43.2/intl/finddomain.c:134:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = strlen (alias_value) + 1;
data/xfe-1.43.2/intl/finddomain.c:154: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).
                                 strlen (dirname) + 1, mask, language, territory,
data/xfe-1.43.2/intl/l10nflist.c:98: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).
        size_t part_len = strlen (argz);
data/xfe-1.43.2/intl/l10nflist.c:123: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).
        size_t part_len = strlen (argz);
data/xfe-1.43.2/intl/l10nflist.c:196:39:  [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 (language)
data/xfe-1.43.2/intl/l10nflist.c:198:42:  [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 (territory) + 1 : 0)
data/xfe-1.43.2/intl/l10nflist.c:200:42:  [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 (codeset) + 1 : 0)
data/xfe-1.43.2/intl/l10nflist.c:202:42:  [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 (normalized_codeset) + 1 : 0)
data/xfe-1.43.2/intl/l10nflist.c:204:42:  [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 (modifier) + 1 : 0)
data/xfe-1.43.2/intl/l10nflist.c:205:43:  [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).
                                    + 1 + strlen (filename) + 1);
data/xfe-1.43.2/intl/l10nflist.c:325:63:  [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).
                    = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1,
data/xfe-1.43.2/intl/langprefs.c:76:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        size += strlen (buf) + 1;
data/xfe-1.43.2/intl/langprefs.c:108:38:  [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).
                                p += strlen (buf);
data/xfe-1.43.2/intl/loadmsgcat.c:470:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define read(fd, buf, n)	read_not_cancel (fd, buf, n)
data/xfe-1.43.2/intl/loadmsgcat.c:874:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            long int nb = (long int) read (fd, read_ptr, to_read);
data/xfe-1.43.2/intl/loadmsgcat.c:1052:41:  [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).
                                need += strlen (sysdep_segment_values[sysdepref]);
data/xfe-1.43.2/intl/loadmsgcat.c:1187:45:  [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).
                                        n = strlen (sysdep_segment_values[sysdepref]);
data/xfe-1.43.2/intl/localcharset.c:87:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/xfe-1.43.2/intl/localcharset.c:88:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/xfe-1.43.2/intl/localcharset.c:128:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t dir_len = strlen (dir);
data/xfe-1.43.2/intl/localcharset.c:129:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t base_len = strlen (base);
data/xfe-1.43.2/intl/localcharset.c:158:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                c = getc (fp);
data/xfe-1.43.2/intl/localcharset.c:167:29:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        c = getc (fp);
data/xfe-1.43.2/intl/localcharset.c:174:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/xfe-1.43.2/intl/localcharset.c:176: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).
                l1 = strlen (buf1);
data/xfe-1.43.2/intl/localcharset.c:177: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).
                l2 = strlen (buf2);
data/xfe-1.43.2/intl/localcharset.c:446:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/xfe-1.43.2/intl/localcharset.c:446:57:  [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).
            aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/xfe-1.43.2/intl/localcharset.c:450:33:  [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).
            codeset = aliases + strlen (aliases) + 1;
data/xfe-1.43.2/intl/localealias.c:324:33:  [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).
                    alias_len = strlen (alias) + 1;
data/xfe-1.43.2/intl/localealias.c:325:33:  [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_len = strlen (value) + 1;
data/xfe-1.43.2/intl/localename.c:931:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (name) == 7 && name[2] == '-')
data/xfe-1.43.2/intl/log.c:83:45:  [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).
        last_logfilename = (char *) malloc (strlen (logfilename) + 1);
data/xfe-1.43.2/intl/os2compat.c:59:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t sl = strlen (root);
data/xfe-1.43.2/intl/os2compat.c:60:51:  [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).
            _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1);
data/xfe-1.43.2/intl/os2compat.c:62:49:  [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).
            memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
data/xfe-1.43.2/intl/os2compat.c:73:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t sl = strlen (root);
data/xfe-1.43.2/intl/os2compat.c:74:60:  [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).
            _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1);
data/xfe-1.43.2/intl/os2compat.c:76:69:  [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).
            memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
data/xfe-1.43.2/intl/os2compat.c:87:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t sl = strlen (root);
data/xfe-1.43.2/intl/os2compat.c:88:54:  [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).
            _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1);
data/xfe-1.43.2/intl/os2compat.c:90:55:  [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).
            memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1);
data/xfe-1.43.2/intl/os2compat.c:96:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (_nlos2_localedir) <= MAXPATHLEN)
data/xfe-1.43.2/intl/plural-exp.h:54:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        equal,			/* Comparison for equality.  */
data/xfe-1.43.2/intl/plural.c:567: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).
#   define yystrlen strlen
data/xfe-1.43.2/intl/plural.c:1397:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            lval->op = equal;
data/xfe-1.43.2/intl/relocatable.c:115: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).
        orig_prefix_len = strlen (orig_prefix_arg);
data/xfe-1.43.2/intl/relocatable.c:116: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).
        curr_prefix_len = strlen (curr_prefix_arg);
data/xfe-1.43.2/intl/relocatable.c:182:55:  [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 (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix))
data/xfe-1.43.2/intl/relocatable.c:186:40:  [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).
    rel_installdir = orig_installdir + strlen (orig_installprefix);
data/xfe-1.43.2/intl/relocatable.c:191:41:  [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).
        const char *p = curr_pathname + strlen (curr_pathname);
data/xfe-1.43.2/intl/relocatable.c:214:43:  [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).
        const char *rp = rel_installdir + strlen (rel_installdir);
data/xfe-1.43.2/intl/relocatable.c:215:44:  [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).
        const char *cp = curr_installdir + strlen (curr_installdir);
data/xfe-1.43.2/intl/relocatable.c:317: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).
            if (strlen (location_as_posix_path) >= MAX_PATH - 1)
data/xfe-1.43.2/intl/relocatable.c:354:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while (c = getc (fp), c != EOF && c != '\n' && c != '/')
data/xfe-1.43.2/intl/relocatable.c:374:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (c = getc (fp), c != EOF && c != '\n')
data/xfe-1.43.2/intl/relocatable.c:453:53:  [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).
                (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1);
data/xfe-1.43.2/intl/textdomain.c:112:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t len = strlen (domainname) + 1;
data/xfe-1.43.2/intl/vasnprintf.c:55:24:  [1] (buffer) wcslen:
  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).
#  define local_wcslen wcslen
data/xfe-1.43.2/intl/vasnprintf.c:470:46:  [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).
                                tmp_length = strlen (a.arg[dp->arg_index].a.a_string);
data/xfe-1.43.2/libsn/sn-launcher.c:204:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (launcher_name) + strlen (launchee_name) +
data/xfe-1.43.2/libsn/sn-launcher.c:204: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).
  len = strlen (launcher_name) + strlen (launchee_name) +
data/xfe-1.43.2/libsn/sn-launcher.c:370: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).
  startup_id = sn_malloc (strlen (context->startup_id) + strlen ("DESKTOP_STARTUP_ID") + 3);
data/xfe-1.43.2/libsn/sn-launcher.c:370:58:  [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).
  startup_id = sn_malloc (strlen (context->startup_id) + strlen ("DESKTOP_STARTUP_ID") + 3);
data/xfe-1.43.2/libsn/sn-util.c:247: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).
        max_len = strlen (str);
data/xfe-1.43.2/libsn/sn-util.c:259: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).
  s = sn_malloc (strlen (str) + 1);
data/xfe-1.43.2/libsn/sn-util.c:274:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (new_str, str, n);
data/xfe-1.43.2/libsn/sn-util.c:338: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).
  needle_len = strlen (needle);
data/xfe-1.43.2/libsn/sn-util.c:339: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).
  haystack_len = strlen (haystack);
data/xfe-1.43.2/libsn/sn-util.c:374:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (append);
data/xfe-1.43.2/libsn/sn-xmessages.c:68:31:  [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).
    xcb_intern_atom(c, FALSE, strlen(message_type), message_type);
data/xfe-1.43.2/libsn/sn-xmessages.c:70:31:  [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).
    xcb_intern_atom(c, FALSE, strlen(message_type_begin), message_type_begin);
data/xfe-1.43.2/libsn/sn-xmessages.c:198: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).
      src_end = message + strlen (message) + 1; /* +1 to include nul byte */
data/xfe-1.43.2/libsn/sn-xutils.c:46: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).
                       8, strlen (str), str);
data/xfe-1.43.2/src/Bookmarks.cpp:77:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    FXApp::instance()->reg().read();
data/xfe-1.43.2/src/Bookmarks.cpp:127:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    FXApp::instance()->reg().read();
data/xfe-1.43.2/src/Bookmarks.cpp:216:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    FXApp::instance()->reg().read();
data/xfe-1.43.2/src/CommandWindow.cpp:254:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((nread = read(pipes[0], buf, sizeof(buf)-1)) > 0)
data/xfe-1.43.2/src/CommandWindow.cpp:260:53:  [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).
                    text->appendText(strbuf.text(), strlen(strbuf.text()));
data/xfe-1.43.2/src/CommandWindow.cpp:275:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ((nread = read(pipes[0], buf, sizeof(buf)-1)) > 0)
data/xfe-1.43.2/src/CommandWindow.cpp:281:45:  [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).
            text->appendText(strbuf.text(), strlen(strbuf.text()));
data/xfe-1.43.2/src/CommandWindow.cpp:325:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    text->setText(str, strlen(str));
data/xfe-1.43.2/src/CommandWindow.cpp:333: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).
    text->appendText(str, strlen(str));
data/xfe-1.43.2/src/DirPanel.cpp:2587:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            mask = umask(0);
data/xfe-1.43.2/src/DirPanel.cpp:2588:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            umask(mask);
data/xfe-1.43.2/src/File.cpp:257:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        nread = read(fd, ptr, len);
data/xfe-1.43.2/src/File.cpp:260:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    nread = read(fd, ptr, len);
data/xfe-1.43.2/src/File.cpp:1593:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strlcpy(file, path, strlen(path)+1);
data/xfe-1.43.2/src/File.cpp:1685:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strlcpy(file, path, strlen(path)+1);
data/xfe-1.43.2/src/File.cpp:1733:28:  [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            i, pl = strlen(path);
data/xfe-1.43.2/src/File.cpp:1746:33:  [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   pl1 = pl, l = strlen(entry->d_name);
data/xfe-1.43.2/src/File.cpp:1749: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).
            strlcpy(path1, path, strlen(path)+1);
data/xfe-1.43.2/src/File.cpp:1754: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).
            strlcpy(path1+pl1, entry->d_name, strlen(entry->d_name)+1);
data/xfe-1.43.2/src/File.cpp:1757: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).
            strlcpy(file, path1, strlen(path1)+1);
data/xfe-1.43.2/src/File.cpp:1793:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strlcpy(file, path, strlen(path)+1);
data/xfe-1.43.2/src/File.cpp:1882:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    strlcpy(file, path, strlen(path)+1);
data/xfe-1.43.2/src/File.cpp:1924:28:  [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            i, pl = strlen(path);
data/xfe-1.43.2/src/File.cpp:1937:33:  [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   pl1 = pl, l = strlen(entry->d_name);
data/xfe-1.43.2/src/File.cpp:1940: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).
            strlcpy(path1, path, strlen(path)+1);
data/xfe-1.43.2/src/File.cpp:1945: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).
            strlcpy(path1+pl1, entry->d_name, strlen(entry->d_name)+1);
data/xfe-1.43.2/src/File.cpp:1946: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).
            strlcpy(file, path1, strlen(path1)+1);
data/xfe-1.43.2/src/FileDialog.cpp:978:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            mask = umask(0);
data/xfe-1.43.2/src/FileDialog.cpp:979:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            umask(mask);
data/xfe-1.43.2/src/FileDialog.cpp:1064:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            mask = umask(0);
data/xfe-1.43.2/src/FileDialog.cpp:1065:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            umask(mask);
data/xfe-1.43.2/src/FileDict.cpp:290: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).
    strlcpy(lowkey, key, strlen(key)+1);
data/xfe-1.43.2/src/FileDict.cpp:332:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(filename) == 0)
data/xfe-1.43.2/src/FileDict.cpp:348: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(filename) > 1)
data/xfe-1.43.2/src/FilePanel.cpp:3569:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            mask = umask(0);
data/xfe-1.43.2/src/FilePanel.cpp:3570:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            umask(mask);
data/xfe-1.43.2/src/FilePanel.cpp:3679:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            mask = umask(0);
data/xfe-1.43.2/src/FilePanel.cpp:3680:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            umask(mask);
data/xfe-1.43.2/src/FilePanel.cpp:4160:43:  [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).
                        str[0] = new char[strlen(ext.text())+1];
data/xfe-1.43.2/src/FilePanel.cpp:4161:43:  [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).
                        str[1] = new char[strlen(oldfileassoc.text())+1];
data/xfe-1.43.2/src/FilePanel.cpp:4174:43:  [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).
                        str[0] = new char[strlen(ext.text())+1];
data/xfe-1.43.2/src/FilePanel.cpp:4175:43:  [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).
                        str[1] = new char[strlen(newcmd.text())+1];
data/xfe-1.43.2/src/FilePanel.cpp:5105:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        int mask = umask(0);
data/xfe-1.43.2/src/FilePanel.cpp:5106:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/FilePanel.cpp:5694:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        int mask = umask(0);
data/xfe-1.43.2/src/FilePanel.cpp:5695:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/Properties.cpp:382:57:  [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).
                        strlcpy(mnttype, mnt->mnt_type, strlen(mnt->mnt_type)+1);
data/xfe-1.43.2/src/Properties.cpp:410:37:  [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).
                strlcpy(used, pstr, strlen(pstr)+1);  // get used
data/xfe-1.43.2/src/Properties.cpp:412:38:  [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).
                strlcpy(avail, pstr, strlen(pstr)+1); // get available
data/xfe-1.43.2/src/Properties.cpp:414:37:  [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).
                strlcpy(pctr, pstr, strlen(pstr)+1);  // get percentage
data/xfe-1.43.2/src/Properties.cpp:1390:35:  [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).
                str[0] = new char[strlen(ext->getText().text())+1];
data/xfe-1.43.2/src/Properties.cpp:1391:35:  [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).
                str[1] = new char[strlen(command.text())+1];
data/xfe-1.43.2/src/Properties.cpp:2053:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while ((nread = read(pipes[0], buf, sizeof(buf)-1)) > 0)
data/xfe-1.43.2/src/Properties.cpp:2120:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ((nread = read(pipes[0], buf, sizeof(buf)-1)) > 0)
data/xfe-1.43.2/src/SearchPanel.cpp:873:43:  [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).
                        str[0] = new char[strlen(ext.text())+1];
data/xfe-1.43.2/src/SearchPanel.cpp:874:43:  [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).
                        str[1] = new char[strlen(oldfileassoc.text())+1];
data/xfe-1.43.2/src/SearchPanel.cpp:887:43:  [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).
                        str[0] = new char[strlen(ext.text())+1];
data/xfe-1.43.2/src/SearchPanel.cpp:888:43:  [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).
                        str[1] = new char[strlen(newcmd.text())+1];
data/xfe-1.43.2/src/SearchPanel.cpp:4096:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        int mask = umask(0);
data/xfe-1.43.2/src/SearchPanel.cpp:4097:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/SearchWindow.cpp:522:30:  [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).
    for (int i = 0; i < (int)strlen(str); i++)
data/xfe-1.43.2/src/SearchWindow.cpp:866:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        nread = read(out[0], buf, 4095);
data/xfe-1.43.2/src/TextWindow.cpp:63:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    text->setText(str, strlen(str));
data/xfe-1.43.2/src/TextWindow.cpp:71: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).
    text->appendText(str, strlen(str));
data/xfe-1.43.2/src/WriteWindow.cpp:1288:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    reg_xfe->read();
data/xfe-1.43.2/src/XFileExplorer.cpp:2262:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            mask = umask(0);
data/xfe-1.43.2/src/XFileExplorer.cpp:2263:13:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            umask(mask);
data/xfe-1.43.2/src/XFileExplorer.cpp:2313:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        getApp()->reg().read();
data/xfe-1.43.2/src/XFileExplorer.cpp:2321:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        mask = umask(0);
data/xfe-1.43.2/src/XFileExplorer.cpp:2322:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/XFileExplorer.cpp:2343:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        mask = umask(0);
data/xfe-1.43.2/src/XFileExplorer.cpp:2344:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/XFileImage.cpp:2708:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    reg_xfe->read();
data/xfe-1.43.2/src/XFilePackage.cpp:270:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(filename.text()) == 0)
data/xfe-1.43.2/src/XFilePackage.cpp:316:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(filename.text()) == 0)
data/xfe-1.43.2/src/XFilePackage.cpp:469: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).
        text[strlen(text)-1] = '\0'; // kill trailing lf
data/xfe-1.43.2/src/XFilePackage.cpp:585:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    reg_xfe->read();
data/xfe-1.43.2/src/XFilePackage.cpp:744:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    reg_xfe->read();
data/xfe-1.43.2/src/XFileWrite.cpp:219:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    reg_xfe->read();
data/xfe-1.43.2/src/clearlooks.cpp:2567: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).
            n = strlen(numtext);
data/xfe-1.43.2/src/clearlooks.cpp:2622: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).
            n = strlen(numtext);
data/xfe-1.43.2/src/clearlooks.cpp:2709: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).
            n = strlen(numtext);
data/xfe-1.43.2/src/foxhacks.cpp:509:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool FXRegistry::read()
data/xfe-1.43.2/src/foxhacks.cpp:641: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).
    register FXint len = strlen(string);
data/xfe-1.43.2/src/foxhacks.cpp:1439:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    FXCBSpec read;                    // Callback spec for read
data/xfe-1.43.2/src/foxhacks.cpp:1801:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    if (in.read.target && in.read.target->tryHandle(this, FXSEL(SEL_IO_READ, in.read.message), (void*)(FXival)fff))
data/xfe-1.43.2/src/foxhacks.cpp:1801:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    if (in.read.target && in.read.target->tryHandle(this, FXSEL(SEL_IO_READ, in.read.message), (void*)(FXival)fff))
data/xfe-1.43.2/src/foxhacks.cpp:1801:97:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    if (in.read.target && in.read.target->tryHandle(this, FXSEL(SEL_IO_READ, in.read.message), (void*)(FXival)fff))
data/xfe-1.43.2/src/foxhacks.cpp:3668:28:  [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).
        register FXint n = strlen(fmt);       // Result is longer than format string
data/xfe-1.43.2/src/main.cpp:430:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    application->reg().read();
data/xfe-1.43.2/src/xfeutils.cpp:543:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        int mask = umask(0);
data/xfe-1.43.2/src/xfeutils.cpp:544:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/xfeutils.cpp:552:20:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        int mask = umask(0);
data/xfe-1.43.2/src/xfeutils.cpp:553:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(mask);
data/xfe-1.43.2/src/xfeutils.cpp:854:28:  [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 (write(pipes[1], buf, strlen(buf)) == -1)
data/xfe-1.43.2/src/xfeutils.cpp:870:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ptr = (char*)path + strlen(path);
data/xfe-1.43.2/src/xfeutils.cpp:888: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).
        strlcpy(ptr, dirp->d_name, strlen(dirp->d_name)+1);
data/xfe-1.43.2/st/st.c:703:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(s);
data/xfe-1.43.2/st/st.c:973: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).
			ttysend(mk->s, strlen(mk->s));
data/xfe-1.43.2/st/st.c:1194:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					(uchar *)seltext, strlen(seltext));
data/xfe-1.43.2/st/st.c:1343: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).
	if((n = strlen(stty_args)) > sizeof(cmd)-1)
data/xfe-1.43.2/st/st.c:1349: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((n = strlen(s)) > siz-1)
data/xfe-1.43.2/st/st.c:1427:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if((ret = read(cmdfd, buf+buflen, LEN(buf)-buflen)) < 0)
data/xfe-1.43.2/st/st.c:2480: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).
		tprinter(ptr, strlen(ptr));
data/xfe-1.43.2/st/st.c:3936: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).
		ttysend(customkey, strlen(customkey));

ANALYSIS SUMMARY:

Hits = 534
Lines analyzed = 97904 in approximately 2.10 seconds (46628 lines/second)
Physical Source Lines of Code (SLOC) = 72656
Hits@level = [0] 250 [1] 196 [2] 214 [3]  48 [4]  60 [5]  16
Hits@level+ = [0+] 784 [1+] 534 [2+] 338 [3+] 124 [4+]  76 [5+]  16
Hits/KSLOC@level+ = [0+] 10.7906 [1+] 7.3497 [2+] 4.65206 [3+] 1.70667 [4+] 1.04603 [5+] 0.220216
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.