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/liblouisutdml-2.9.0/build-aux/snippet/_Noreturn.h
Examining data/liblouisutdml-2.9.0/build-aux/snippet/arg-nonnull.h
Examining data/liblouisutdml-2.9.0/build-aux/snippet/c++defs.h
Examining data/liblouisutdml-2.9.0/build-aux/snippet/warn-on-use.h
Examining data/liblouisutdml-2.9.0/gnulib/getopt.c
Examining data/liblouisutdml-2.9.0/gnulib/getopt.in.h
Examining data/liblouisutdml-2.9.0/gnulib/getopt1.c
Examining data/liblouisutdml-2.9.0/gnulib/getopt_int.h
Examining data/liblouisutdml-2.9.0/gnulib/gettext.h
Examining data/liblouisutdml-2.9.0/gnulib/malloc.c
Examining data/liblouisutdml-2.9.0/gnulib/progname.c
Examining data/liblouisutdml-2.9.0/gnulib/progname.h
Examining data/liblouisutdml-2.9.0/gnulib/realloc.c
Examining data/liblouisutdml-2.9.0/gnulib/stdarg.in.h
Examining data/liblouisutdml-2.9.0/gnulib/stddef.in.h
Examining data/liblouisutdml-2.9.0/gnulib/stdlib.in.h
Examining data/liblouisutdml-2.9.0/gnulib/sys_types.in.h
Examining data/liblouisutdml-2.9.0/gnulib/unistd.c
Examining data/liblouisutdml-2.9.0/gnulib/unistd.in.h
Examining data/liblouisutdml-2.9.0/gnulib/version-etc.c
Examining data/liblouisutdml-2.9.0/gnulib/version-etc.h
Examining data/liblouisutdml-2.9.0/java/Jliblouisutdml.c
Examining data/liblouisutdml-2.9.0/java/Jliblouisutdml.h
Examining data/liblouisutdml-2.9.0/liblouisutdml/change_table.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/convert_utd.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/examine_document.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.h
Examining data/liblouisutdml-2.9.0/liblouisutdml/logging.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h
Examining data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/make_sem_names.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/paths.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/sem_enum.h
Examining data/liblouisutdml-2.9.0/liblouisutdml/sem_names.h
Examining data/liblouisutdml-2.9.0/liblouisutdml/semantics.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_cdataSection.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_chemistry.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_computerCode.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_document.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_graphic.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_math.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_music.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcribe_paragraph.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/utd2brf.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/utd2pef.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/utd2transinxml.c
Examining data/liblouisutdml-2.9.0/liblouisutdml/utd2volumes.c
Examining data/liblouisutdml-2.9.0/tests/testTranslateString.c
Examining data/liblouisutdml-2.9.0/tests/tripleTrans.c
Examining data/liblouisutdml-2.9.0/tools/file2brl.c
Examining data/liblouisutdml-2.9.0/windows/include/config.h
Examining data/liblouisutdml-2.9.0/windows/include/xmlversion.h
Examining data/liblouisutdml-2.9.0/windows/make_makefile.c

FINAL RESULTS:

data/liblouisutdml-2.9.0/gnulib/unistd.in.h:241:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - "
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:255:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   undef chown
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:256:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
#   define chown rpl_chown
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:258:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:260:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:263:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:266:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:268:19:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_CXXALIASWARN (chown);
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:270:9:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
# undef chown
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:272:18:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
_GL_WARN_ON_USE (chown, "chown fails to follow symlinks on some systems and "
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1235:12:  [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.
#   define readlink rpl_readlink
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1237:19:  [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.
_GL_FUNCDECL_RPL (readlink, ssize_t,
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1240:19:  [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.
_GL_CXXALIAS_RPL (readlink, ssize_t,
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1244:19:  [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.
_GL_FUNCDECL_SYS (readlink, ssize_t,
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1248:19:  [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.
_GL_CXXALIAS_SYS (readlink, ssize_t,
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1251:19:  [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.
_GL_CXXALIASWARN (readlink);
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1253:9:  [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.
# undef readlink
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1255:18:  [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.
_GL_WARN_ON_USE (readlink, "readlink is unportable - "
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:230:18:  [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.
_GL_WARN_ON_USE (access, "the access function is a security risk - "
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:746:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_FUNCDECL_SYS (getlogin, char *, (void));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:748:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIAS_SYS (getlogin, char *, (void));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:749:19:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_CXXALIASWARN (getlogin);
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:751:9:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
# undef getlogin
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:753:18:  [4] (misc) getlogin:
  It's often easy to fool getlogin. Sometimes it does not work at all,
  because some program messed up the utmp file. Often, it gives only the
  first 8 characters of the login name. The user currently logged in on the
  controlling tty of our program need not be the user who started it. Avoid
  getlogin() for security-related purposes (CWE-807). Use getpwuid(geteuid())
  and extract the desired information instead.
_GL_WARN_ON_USE (getlogin, "getlogin is unportable - "
data/liblouisutdml-2.9.0/gnulib/version-etc.c:84:3:  [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 (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR);
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:844:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		  strcpy (logFileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:845:5:  [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 (logFileName, getArg (env, obj, args, k + 1));
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:853:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		  strcpy (configFileList, getArg (env, obj, args, k + 1));
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:870:5:  [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 (configSettings, getArg (env, obj, args, k + 1));
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:888:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		  strcpy (inputFileName, curArg);
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:893:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		  strcpy (inputFileName, curArg);
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:894:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		  strcpy (outputFileName, getArg (env, obj, args, k + 1));
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:934: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 (tempFileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:1027:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (temp2FileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/liblouisutdml/change_table.c:48:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(completePath, newTable);
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:47: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 (bothVersions, version);
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:49: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 (bothVersions, lou_version ());
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:64:3:  [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.
  vsnprintf (buffer, sizeof (buffer) - 4, msg, args);
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:246:7:  [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 (xmlInbuf, ud->xml_header);
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:248:7:  [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 (xmlInbuf, inbuf);
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:446: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 (writeablePath, path);
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:64:13:  [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.
      len = vsnprintf(0, 0, format, argp);
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:69:11:  [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.
          vsnprintf(s, len+1, format, argp);
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:101:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      p += sprintf(p, formatString, wbuf[i]);
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:117:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (initialLogFileName, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:97:9:  [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/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:97:18:  [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/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:98:9:  [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 vsnprintf _vsnprintf
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:98: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 (tempFileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:60: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 (lastPath, path);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:87:7:  [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 (currentPath, dataPath);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:91:7:  [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 (currentPath, dataPath);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:97:7:  [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 (currentPath, dataPath);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:101:7:  [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 (currentPath, dataPath);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:115:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (currentPath, lou_getProgramPath ());
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:119:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (lbuPath, currentPath);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:122:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (louisPath, currentPath);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:147:7:  [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 (writePath, currentPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:88:3:  [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.
  vsnprintf (buffer, sizeof (buffer), format, arguments);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:109: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 (newString, inString);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:152:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (filePath, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:165:7:  [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 (trialPath, ud->path_list);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:167:2:  [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 (trialPath, pathEnd);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:169:7:  [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 (trialPath,  fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:172:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (&trialPath[pathLength], fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:173:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (filePath, trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:182:2:  [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 (trialPath, pathEnd);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:184:7:  [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 (trialPath,  fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:187:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (&trialPath[pathLength], fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:188:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (filePath, trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:201:6:  [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 (trialPath, pathEnd);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:203:4:  [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 (trialPath,  fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:206:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	      strcpy (&trialPath[pathLength], fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:207:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	      strcpy (filePath, trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:225:7:  [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 (trialPath, ud->config_path);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:227:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat (trialPath, pathEnd);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:228:7:  [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 (trialPath, nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:230:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (filePath, trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:234:7:  [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 (trialPath, ud->lbu_files_path);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:235:7:  [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 (trialPath, nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:237:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (filePath, trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:239: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 (trialPath, filePath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:243:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy (trialPath, nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:292: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 (nested->value, decoded);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:932:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (ud->xml_header, nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:941:4:  [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 (ud->xml_header, nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:943:4:  [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 (ud->xml_header, nested->value2);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1293: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 (configPath, firstConfigFile);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1297: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 (fileName, &configPath[k + 1]);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1304:7:  [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 ((char *) ud->typeform, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1305:7:  [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 ((char *) ud->typeform, logFileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1387:7:  [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 ((char *) ud->typeform, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1388:7:  [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 ((char *) ud->typeform, logFileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1436:4:  [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 ((char *) ud->typeform, configString);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:105:3:  [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.
  vsnprintf (buffer, sizeof (buffer), format, arguments);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:249: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 ((char *) latestEntry->key, (char *) key);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:303: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 (realName, SEMANTICSUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:309:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (realName, semNames[k]);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:310:4:  [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 (realName, SEMANTICSUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:317:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (realName, pseudoActions[k]);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:318:4:  [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 (realName, SEMANTICSUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:328: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 (realName, SEMANTICSUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:877:7:  [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 (completePath, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:878:7:  [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 (completePath, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:888:7:  [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 (firstFileName, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:923: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 (fileName, (char *) rootName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:965:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy (fileName, ud->semantic_files);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:968:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (firstFileName, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:978:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (firstFileName, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:999:7:  [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 (firstFileName, fileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1004: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 (fileName, firstFileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1182:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy ((char *) key, (char *) name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1184:4:  [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 ((char *) key, (char *) attrName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1216:7:  [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 ((char *) key, (char *) name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1262:7:  [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 (key, nodeEntry->style->name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1267:7:  [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 (key, semNames[nodeEntry->semNum]);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1391: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 (outFileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1392: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 (outFileName, filePrefix);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1393: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 (outFileName, firstFileName);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1459: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 (key, name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1460: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 (key, STYLESUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1467: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 (style->name, name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1481: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 (key, name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1482: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 (key, STYLESUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1518:3:  [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.
  vsnprintf (buffer, sizeof (buffer), format, arguments);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1540: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 (key, name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1541: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 (key, MACROSUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1553: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 (nameAndBody, name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1555: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 (nameAndBody, body);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1559: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 (key, name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1560: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 (key, MACROSUF);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1733:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		  strcpy (&compiledMacro[pos], name);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1761: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 (macro, compiledMacro);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1030:5:  [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 (setup, ud->letsign);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1031: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 (setup, printPageNumber);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1089: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 (attrValue, get_attr_value (node));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1248:7:  [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 (brlPageString, ud->letsign);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1249:7:  [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 (brlPageString, makeRomanNumber (ud->braille_page_number));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1254:7:  [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 (brlPageString, ud->letsign);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1255:7:  [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 (brlPageString, makeRomanCapsNumber (ud->braille_page_number));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1328:5:  [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 (romNum, hundreds[10]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1331: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 (romNum, hundreds[n / 100]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1332: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 (romNum, tens[(n / 10) % 10]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1333: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 (romNum, units[n % 10]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1382:5:  [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 (romNum, hundreds[10]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1385: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 (romNum, hundreds[n / 100]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1386: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 (romNum, tens[(n / 10) % 10]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1387: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 (romNum, units[n % 10]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4295:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (&utilStringBuf[kk], posx);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4717:5:  [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 (setup, ud->letsign);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4771:7:  [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 (brlPageString, ud->letsign);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4772:7:  [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 (brlPageString, makeRomanNumber (ud->braille_page_number));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4871: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 (values, allValues);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4975:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	      strcpy (&utilStringBuf[kk], pos);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5009:7:  [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 (currentTableName, &table[k + 1]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5900:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (utilStringBuf, "braillePageNumber=%d \
data/liblouisutdml-2.9.0/tools/file2brl.c:161:2:  [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 (configSettings, optarg);
data/liblouisutdml-2.9.0/tools/file2brl.c:200: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 (logFileName, lbu_getWriteablePath());
data/liblouisutdml-2.9.0/tools/file2brl.c:223: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 (tempFileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/tools/file2brl.c:319:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	  strcpy (temp2FileName, lbu_getWriteablePath ());
data/liblouisutdml-2.9.0/windows/include/config.h:102:12:  [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/liblouisutdml-2.9.0/windows/include/config.h:102:21:  [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/liblouisutdml-2.9.0/windows/include/config.h:105:9:  [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 vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
data/liblouisutdml-2.9.0/windows/make_makefile.c:189:7:  [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 (module[moduleCount++], name);
data/liblouisutdml-2.9.0/windows/make_makefile.c:214:4:  [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 (version, name);
data/liblouisutdml-2.9.0/windows/make_makefile.c:223:7:  [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 (inbuf, makefileStub[k]);
data/liblouisutdml-2.9.0/gnulib/getopt.c:101: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.
extern char *getenv ();
data/liblouisutdml-2.9.0/gnulib/getopt.c:237:47:  [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.
  d->__posixly_correct = posixly_correct || !!getenv ("POSIXLY_CORRECT");
data/liblouisutdml-2.9.0/gnulib/getopt.c:1157:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt (int argc, char *const *argv, const char *optstring)
data/liblouisutdml-2.9.0/gnulib/getopt.c:1192:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:59:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:60:9:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# undef getopt_long
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:70:10:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:70:30:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt __GETOPT_ID (getopt)
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:71:10:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:71:35:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
# define getopt_long __GETOPT_ID (getopt_long)
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:232:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/liblouisutdml-2.9.0/gnulib/getopt.in.h:236:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv,
data/liblouisutdml-2.9.0/gnulib/getopt1.c:40:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
data/liblouisutdml-2.9.0/gnulib/getopt1.c:105:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:535:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (random, long, (void));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:537:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (random, long, (void));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:538:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (random);
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:540:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef random
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:542:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (random, "random is unportable - "
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:549:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:551:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (srandom, void, (unsigned int seed));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:552:19:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (srandom);
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:554:9:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef srandom
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:556:18:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (srandom, "srandom is unportable - "
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:580:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1)));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:582:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIAS_SYS (setstate, char *, (char *arg_state));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:583:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_CXXALIASWARN (setstate);
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:585:9:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
# undef setstate
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:587:18:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
_GL_WARN_ON_USE (setstate, "setstate is unportable - "
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:733:12:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
#   define realpath rpl_realpath
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:735:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved)
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:737:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:740:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved)
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:743:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:745:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_CXXALIASWARN (realpath);
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:747:9:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
# undef realpath
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:749:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module "
data/liblouisutdml-2.9.0/tools/file2brl.c:124:4:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	  getopt_long (argc, argv, "hvf:brpPtlw:TC:", longopts, NULL)) != 
data/liblouisutdml-2.9.0/gnulib/gettext.h:218:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/liblouisutdml-2.9.0/gnulib/gettext.h:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/liblouisutdml-2.9.0/gnulib/gettext.h:228:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/liblouisutdml-2.9.0/gnulib/gettext.h:230:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/liblouisutdml-2.9.0/gnulib/gettext.h:264:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char msg_ctxt_id[msgctxt_len + msgid_len];
data/liblouisutdml-2.9.0/gnulib/gettext.h:266:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[1024];
data/liblouisutdml-2.9.0/gnulib/gettext.h:274:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/liblouisutdml-2.9.0/gnulib/gettext.h:276:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:398:12:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
#   define mkstemp rpl_mkstemp
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:400:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:401:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:404:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1)));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:406:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/));
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:408:19:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_CXXALIASWARN (mkstemp);
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:410:9:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
# undef mkstemp
data/liblouisutdml-2.9.0/gnulib/stdlib.in.h:412:18:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - "
data/liblouisutdml-2.9.0/gnulib/version-etc.c:201:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *authtab[10];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:811: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 configFileList[MAXNAMELEN];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:812: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 inputFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:813: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 outputFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:814: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 tempFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:815: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 logFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:826: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 (configFileList, "preferences.cfg");
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:827: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 (inputFileName, "stdin");
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:828: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 (outputFileName, "stdout");
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:924:25:  [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 (!(inputFile = fopen (inputFileName, "rb")))
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:935:3:  [2] (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). Risk is low because the
  source is a constant string.
  strcat (tempFileName, "file2brl.temp");
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:936: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).
  if (!(tempFile = fopen (tempFileName, "wb")))
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:1026:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char temp2FileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:1028:4:  [2] (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). Risk is low because the
  source is a constant string.
	  strcat (temp2FileName, "file2brl2.temp");
data/liblouisutdml-2.9.0/liblouisutdml/change_table.c:43: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 completePath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/examine_document.c:138: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 filePath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:46: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 bothVersions[60];
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:275:27:  [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 (!(ud->outFile = fopen (outFileName, "wb")))
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:309: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 (!(ud->inFile = fopen (inFileName, "rb")))
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:319:27:  [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 (!(ud->outFile = fopen (outFileName, "wb")))
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:402: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 (!(ud->inFile = fopen (inFileName, "rb")))
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:412:27:  [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 (!(ud->outFile = fopen (outFileName, "wb")))
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:437: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.
static char writeablePath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:109: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.
static char initialLogFileName[256];
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:118:13:  [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).
  logFile = fopen (fileName, "wb");
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:120: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).
    logFile = fopen (initialLogFileName, "wb");
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:134: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).
    logFile = fopen (initialLogFileName, "wb");
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char topBoxline[1];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:92: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 bottomBoxline[1];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:93:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[1];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:271: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 path_list[4 * MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:275: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 lit_hyphen[5];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:276: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 comp_hyphen[5];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:277: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 letsign[5];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:297: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 lineEnd[8];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:298: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 pageEnd[8];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:299: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 fileEnd[8];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:310: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 xml_header[2 * MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:318: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 string_buffer[2 * BUFSIZE];
data/liblouisutdml-2.9.0/liblouisutdml/louisutdml.h:393:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
int find_group_length (const char groupSym[2], const char *groupStart);
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:54: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.
static char tempFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:99:3:  [2] (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). Risk is low because the
  source is a constant string.
  strcat (tempFileName, "lbx_body.temp");
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:100: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).
  if (!(tempFile = fopen (tempFileName, "w")))
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:187: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 (headingPtr, &heading, headingSize);
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:269: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 (ud->translated_buffer, currentHeading->headingChars,
data/liblouisutdml-2.9.0/liblouisutdml/makeContents.c:285: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).
  if (!(tempFile = fopen (tempFileName, "r")))
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:124: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 hyphens[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:252:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buffer[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:283: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(endnotePtr->character,&ud->translated_buffer[old_translated_length],endnotePtr->character_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:300:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buffer, "%d", line_num);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:310: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(endnotePtr->line_num,&ud->translated_buffer[old_translated_length+1],endnotePtr->line_num_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:316: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(endnotePtr->line_num,&ud->translated_buffer[old_translated_length],endnotePtr->line_num_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:322:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buffer, "%d", page_num);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:332: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(endnotePtr->page_num,&ud->translated_buffer[old_translated_length+1],endnotePtr->page_num_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:338: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(endnotePtr->line_num,&ud->translated_buffer[old_translated_length],endnotePtr->page_num_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:374: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 (endnotePtr, &workingEndnote, sizeof(workingEndnote));
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:410: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 (endnotePtr, &workingEndnote, sizeof(workingEndnote));
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:459: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(notes_header,ud->translated_buffer,ud->translated_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:477: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(notes_description,ud->translated_buffer,ud->translated_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:515: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(&ud->translated_buffer[ud->translated_length],notes_header,notes_header_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:526: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(&ud->translated_buffer[ud->translated_length],notes_description,notes_description_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:545: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(&ud->translated_buffer[ud->translated_length],current_endnote->character,current_endnote->character_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:551: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(&ud->translated_buffer[ud->translated_length],current_endnote->page_num,current_endnote->page_num_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:555:6:  [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(&ud->translated_buffer[ud->translated_length],current_endnote->line_num,current_endnote->line_num_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:560: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(&ud->translated_buffer[ud->translated_length],current_endnote->endnote,current_endnote->endnote_length*CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/make_sem_names.c:41: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 inbuf[128];
data/liblouisutdml-2.9.0/liblouisutdml/make_sem_names.c:47: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).
  if ((semIn = fopen ("sem_enum.h", "r")) == NULL)
data/liblouisutdml-2.9.0/liblouisutdml/make_sem_names.c:52:17:  [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 ((semOut = fopen ("sem_names.h", "w")) == NULL)
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:67: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 currentPath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:88:7:  [2] (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). Risk is low because the
  source is a constant string.
      strcat (currentPath, "\\liblouis\\tables\\");
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:92:7:  [2] (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). Risk is low because the
  source is a constant string.
      strcat (currentPath, "\\liblouisutdml\\lbu_files\\");
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:98:7:  [2] (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). Risk is low because the
  source is a constant string.
      strcat (currentPath, "/liblouis/tables/");
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:102:7:  [2] (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). Risk is low because the
  source is a constant string.
      strcat (currentPath, "/liblouisutdml/lbu_files/");
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:113: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 louisPath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:114: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 lbuPath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:116:2:  [2] (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). Risk is low because the
  source is a constant string.
	strcat (currentPath, "..\\");
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:120:2:  [2] (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). Risk is low because the
  source is a constant string.
	strcat (lbuPath, "share\\liblouisutdml\\lbu_files\\");
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:123:2:  [2] (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). Risk is low because the
  source is a constant string.
	strcat (louisPath, "share\\liblouis\\tables\\");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:59: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 line[5 * MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:69: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.
static char pathEnd[2];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[1024];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:139: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 trialPath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:219: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 trialPath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:220:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char filePath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:259: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 decoded[100];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.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 completePath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:317: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).
  if ((nested.in = fopen ((char *) completePath, "rb")))
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:466:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atoi (actions[k + 1]);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:492:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  return atoi (values[k + 1]);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:528:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      int shift = atoi (&number[3]);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:532:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    return atoi (number);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:803:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  ud->cells_per_line = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:806:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  ud->lines_per_page = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:814:6:  [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 (ud->lineEnd, nested->value, nested->valueLength + 1);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:819:6:  [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 (ud->pageEnd, nested->value, nested->valueLength + 1);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:822:40:  [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).
	  ud->beginning_braille_page_number = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:834:6:  [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 (ud->fileEnd, nested->value, nested->valueLength + 1);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:871:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  ud->back_line_length = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:938:6:  [2] (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). Risk is low because the
  source is a constant string.
	    strcat (ud->xml_header, "<!DOCTYPE entities [\n");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:940:4:  [2] (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). Risk is low because the
  source is a constant string.
	  strcat (ud->xml_header, "<!ENTITY ");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:942:4:  [2] (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). Risk is low because the
  source is a constant string.
	  strcat (ud->xml_header, " \"");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:944:4:  [2] (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). Risk is low because the
  source is a constant string.
	  strcat (ud->xml_header, "\">\n");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1005: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).
	  ud->braille_page_number = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1086: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).
	  ud->min_syllable_length = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1194:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    style->lines_before = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1197:28:  [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).
		    style->lines_after = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1200:28:  [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).
		    style->left_margin = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1203: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).
		    style->first_line_indent = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1234:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    style->right_margin = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1245:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		    style->orphan_control = atoi (nested->value);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1267: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(style->topBoxline, nested->value, 1);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1270: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(style->bottomBoxline, nested->value, 1);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1291: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 configPath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1320: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 mainFile[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1321: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 subFile[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1360: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 (ud->comp_hyphen, "_&");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1361: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 (ud->letsign, "\\_");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1444:5:  [2] (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). Risk is low because the
  source is a constant string.
    strcat (ud->xml_header, "]>\n");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:48: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 line[5 * MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:99:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:284: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.
static char firstFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:298: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 realName[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:302: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 (realName, "no");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:492: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 (insertsPtr, &inserts, insertsSize);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:542: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 (&ud->text_buffer[ud->text_length], insertStart, CHARSIZE *
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:626:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
find_group_length (const char groupSym[2], const char *groupStart)
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:799:7:  [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 configString[2 * MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:870: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 completePath[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:895: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).
  if ((nested.in = fopen ((char *) completePath, "rb")))
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:934:3:  [2] (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). Risk is low because the
  source is a constant string.
  strcat (fileName, ".sem");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:941: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 fileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1003: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 (fileName, "appended_");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1247: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 key[50];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1254:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (key, "macro,");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1261:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (key, "style,");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1266:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (key, "action,");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1373: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 filePrefix[20];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1374: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 fileMode[8];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1375: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 outFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1383:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (fileMode, "ab");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1384:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (filePrefix, "appended_");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1388:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (fileMode, "wb");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1389:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy (filePrefix, "new_");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1394:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  semOut = fopen ((char *) outFileName, fileMode);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1455: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 key[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1480: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 key[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1493: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.
  return lookup_style ((char *) semNames[action]);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1499: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.
static char macroName[40];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1512:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1539: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 key[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1551: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 key[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1577:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  int semNum = atoi (&macro[posInMacro]);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1707:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char name[40];
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1732:9:  [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.
		  k = sprintf (name, "%d", k);
data/liblouisutdml-2.9.0/liblouisutdml/transcribe_paragraph.c:88: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.
static unsigned char saved_typeform[2 * BUFSIZE];
data/liblouisutdml-2.9.0/liblouisutdml/transcribe_paragraph.c:111: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 (saved_positions_array, ud->positions_array,
data/liblouisutdml-2.9.0/liblouisutdml/transcribe_paragraph.c:123: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(saved_typeform, ud->typeform, saved_text_length * sizeof(formtype));
data/liblouisutdml-2.9.0/liblouisutdml/transcribe_paragraph.c:158: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 (ud->positions_array, saved_positions_array,
data/liblouisutdml-2.9.0/liblouisutdml/transcribe_paragraph.c:170: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(ud->typeform, saved_typeform, saved_text_length * sizeof(formtype));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:296:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char paragraphBuffer[BUFSIZE];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:350:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char paragraphBuffer[BUFSIZE];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:463:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char utf8Str[10];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:522:19:  [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 unsigned char utf8Str[10];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:609:19:  [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 unsigned char utf8Str[10];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:703: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 (&ud->text_buffer[ud->text_length], text, CHARSIZE * length);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:838:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&ud->sync_text_buffer[ud->sync_text_length], ud->text_buffer,
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:937:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&ud->outbuf1[ud->outbuf1_len_so_far], chars, length * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1018: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 autoPageNumber[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1019: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 setup[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1022: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 (autoPageNumber, "%d", ud->page_number);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1063: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 (ud->running_head, chars, ud->running_head_length * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1072: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 (ud->footer, chars, ud->footer_length * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1088: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 attrValue[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1192:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (&ud->translated_buffer[ud->translated_length], ud->text_buffer,
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1198: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 (&ud->sync_text_buffer[ud->sync_text_length],
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1223: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 brlPageString[40];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1240:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (brlPageString, "%d", ud->braille_page_number);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1244:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (brlPageString, "p%d", ud->braille_page_number);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1286: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 romNum[40];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1340: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 romNum[40];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2076: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 hyphens[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2077: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 textHyphens[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3967: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.
static char currentTableName[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4293:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char posx[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4294:18:  [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.
	  int posxLen = sprintf (posx, "%d ", backIndices[k]);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4318: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 (ud->outbuf1, content, length * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4324:15:  [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(tmpContent, content, sizeof(widechar) * length);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4339: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 (ud->text_buffer, content, length * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4609: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 (sbstr->origText, inStr, length * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4678: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 (sbstr->origText, sbstr->prefixedOrigText,
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4680: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 (sbstr->transText, sbstr->prefixedTransText,
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4710: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 setup[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4725: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 (ud->print_page_number, sb.origText, sb.origTextLength * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4753: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 brlPageString[40];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4765: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 (brlPageString, "%d", ud->braille_page_number);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4768: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 (brlPageString, "p%d", ud->braille_page_number);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4862: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[MAXNAMELEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4917: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 number[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4920: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 (number, "%d", ud->braille_page_number);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4931: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 position[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4933: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 (position, "%d,%d", (ud->cell_width * start +
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4972:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      char pos[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4974:17:  [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.
	      posLen = sprintf (pos, "%d ", indices[indexPos] - firstIndex);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5082:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char printPageNumber[MAXNUMLEN + 1];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5118: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 position[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5119: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 (position, "%d,%d", horizLinePos, ud->vert_line_pos);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5282: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.
	  unsigned char holder[MAXNUMLEN];
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5824:11:  [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).
  width = atoi (cwidth);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5825:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  height = atoi (cheight);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5869: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 (ud->outbuf, dumpLoc, dumpSize);
data/liblouisutdml-2.9.0/liblouisutdml/utd2brf.c:233:7:  [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).
  k = atoi (xy);
data/liblouisutdml-2.9.0/liblouisutdml/utd2brf.c:238:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  linePos = atoi (&xy[k + 1]);
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:89:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (firstVerse, number, numberLength * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:94:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (lastVerse, number, numberLength * CHARSIZE);
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:290: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).
  prevBrlPageNum = atoi (xmlGetProp (node, (xmlChar *) "brlnumber"));
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:312: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).
  leadingBlanks = (atoi (xy) - ud->left_margin) / ud->cell_width;
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:313:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  linepos = (atoi (&xy[k + 1]) - ud->page_top) / ud->normal_line;
data/liblouisutdml-2.9.0/liblouisutdml/utd2pef.c:160: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).
  leadingBlanks = (atoi (&xy[k + 1]) - ud->left_margin) / 
data/liblouisutdml-2.9.0/liblouisutdml/utd2transinxml.c:233: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).
  leadingBlanks = (atoi (xy) - ud->left_margin) / ud->cell_width;
data/liblouisutdml-2.9.0/liblouisutdml/utd2transinxml.c:234:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  linepos = (atoi (&xy[k + 1]) - ud->page_top) / ud->normal_line;
data/liblouisutdml-2.9.0/liblouisutdml/utd2volumes.c:217: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).
  leadingBlanks = (atoi (xy) - ud->left_margin) / ud->cell_width;
data/liblouisutdml-2.9.0/liblouisutdml/utd2volumes.c:218:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  linepos = (atoi (&xy[k + 1]) - ud->page_top) / ud->normal_line;
data/liblouisutdml-2.9.0/tests/testTranslateString.c:10: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 inbuf[BUFSIZE];
data/liblouisutdml-2.9.0/tests/testTranslateString.c:17:18:  [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 (!(inFile = fopen (argv[1], "rb")))
data/liblouisutdml-2.9.0/tools/file2brl.c:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char tempFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/tools/file2brl.c:105: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 logFileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/tools/file2brl.c:139:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (logFileName, "file2brl.log");
data/liblouisutdml-2.9.0/tools/file2brl.c:201:3:  [2] (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). Risk is low because the
  source is a constant string.
  strcat (logFileName, "file2brl.log");
data/liblouisutdml-2.9.0/tools/file2brl.c:214:25:  [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 (!(inputFile = fopen (inputFileName, "r")))
data/liblouisutdml-2.9.0/tools/file2brl.c:224:3:  [2] (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). Risk is low because the
  source is a constant string.
  strcat (tempFileName, "file2brl.temp");
data/liblouisutdml-2.9.0/tools/file2brl.c:225: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).
  if (!(tempFile = fopen (tempFileName, "w")))
data/liblouisutdml-2.9.0/tools/file2brl.c:318:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	  char temp2FileName[MAXNAMELEN];
data/liblouisutdml-2.9.0/tools/file2brl.c:320:4:  [2] (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). Risk is low because the
  source is a constant string.
	  strcat (temp2FileName, "file2brl2.temp");
data/liblouisutdml-2.9.0/windows/make_makefile.c:144: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 inbuf[256];
data/liblouisutdml-2.9.0/windows/make_makefile.c:145: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 version[80];
data/liblouisutdml-2.9.0/windows/make_makefile.c:146: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 module[50][50];
data/liblouisutdml-2.9.0/windows/make_makefile.c:154:22:  [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 ((makefile_am = fopen ("..\\liblouisutdml\\Makefile.am", "r")) == NULL)
data/liblouisutdml-2.9.0/windows/make_makefile.c:159:23:  [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 ((configure_ac = fopen ("..\\configure.ac", "r")) == NULL)
data/liblouisutdml-2.9.0/windows/make_makefile.c:164:23:  [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 ((Makefile_gen = fopen ("Makefile.gen", "w")) == NULL)
data/liblouisutdml-2.9.0/windows/make_makefile.c:207:4:  [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 (version, "liblouisutdml-");
data/liblouisutdml-2.9.0/gnulib/getopt.c:268:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/liblouisutdml-2.9.0/gnulib/getopt.c:503: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).
            if (namelen == (unsigned int) strlen (p->name))
data/liblouisutdml-2.9.0/gnulib/getopt.c:588: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).
          d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:668: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).
                  d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:708: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).
                  d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:713: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).
          d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:906: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).
              if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/liblouisutdml-2.9.0/gnulib/getopt.c:954: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).
            d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:998: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).
                    d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:1036: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).
                    d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/getopt.c:1042: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).
            d->__nextchar += strlen (d->__nextchar);
data/liblouisutdml-2.9.0/gnulib/gettext.h:214:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/liblouisutdml-2.9.0/gnulib/gettext.h:215:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/liblouisutdml-2.9.0/gnulib/gettext.h:260:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgctxt_len = strlen (msgctxt) + 1;
data/liblouisutdml-2.9.0/gnulib/gettext.h:261:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t msgid_len = strlen (msgid) + 1;
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1211:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   undef read
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1212:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#   define read rpl_read
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1214:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count)
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1216:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1221:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1223:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
_GL_CXXALIASWARN (read);
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1483:11:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   undef usleep
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1484:12:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#   define usleep rpl_usleep
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1486:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_RPL (usleep, int, (useconds_t n));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1487:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_RPL (usleep, int, (useconds_t n));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1490:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_FUNCDECL_SYS (usleep, int, (useconds_t n));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1492:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIAS_SYS (usleep, int, (useconds_t n));
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1494:19:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_CXXALIASWARN (usleep);
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1496:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
# undef usleep
data/liblouisutdml-2.9.0/gnulib/unistd.in.h:1498:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
_GL_WARN_ON_USE (usleep, "usleep is unportable - "
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:872:5:  [1] (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). Risk is low because the
  source is a constant character.
		  strcat (configSettings, "\n");
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:947:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((ch = fgetc (inputFile)) != EOF)
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:966:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      nch = fgetc (inputFile);
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:989:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = fgetc (inputFile)) != EOF)
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:999:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    nch = fgetc (inputFile);
data/liblouisutdml-2.9.0/java/Jliblouisutdml.c:1263:50:  [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).
    (*env)->SetByteArrayRegion (env, hyphens, 0, strlen (hyphensX), hyphensX);
data/liblouisutdml-2.9.0/liblouisutdml/change_table.c:45:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen ((char *) newTable) < 5)
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:48:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat (bothVersions, " ");
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:240: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).
      inlen += strlen (ud->xml_header);
data/liblouisutdml-2.9.0/liblouisutdml/liblouisutdml.c:247:7:  [1] (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). Risk is low because the
  source is a constant character.
      strcat (xmlInbuf, "\n");
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:87:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int logBufSize = (wlen * ((sizeof(widechar) * 2) + 3)) + 1 + strlen(msg);
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:96: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).
  for (i = 0; i < strlen(msg); i++)
data/liblouisutdml-2.9.0/liblouisutdml/logging.c:98: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).
  p += strlen(msg);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:263: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).
		endnotePtr->id_length = strlen(endnotePtr->id);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:301:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for(k=0;k<strlen(buffer);k++)
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:303:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ud->text_length = strlen(buffer);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:323:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for(k=0;k<strlen(buffer);k++)
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:325:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	ud->text_length = strlen(buffer);
data/liblouisutdml-2.9.0/liblouisutdml/makeEndnotes.c:395:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	workingEndnote.id_length = strlen(workingEndnote.id);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:43: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).
  int curLen = strlen (ud->path_list);
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:44: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).
  if ((curLen + 1 + strlen (path)) >= sizeof (ud->path_list))
data/liblouisutdml-2.9.0/liblouisutdml/paths.c:59:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  lastPath = &ud->path_list[strlen (ud->path_list)];
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:105:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (inString);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:143:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nameLength = strlen (fileName);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:159: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).
  listLength = strlen (ud->path_list);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:166: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).
      if (trialPath[strlen (trialPath) - 1] != ud->file_separator)
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:168:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      pathLength = strlen (trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:179:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (trialPath, ud->path_list, k);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:181: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).
      if (trialPath[strlen (trialPath) - 1] != ud->file_separator)
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:183:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      pathLength = strlen (trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:197:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (trialPath, &ud->path_list[currentListPos],
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:200:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  if (trialPath[strlen (trialPath) - 1] != ud->file_separator)
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:202: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).
	  pathLength = strlen (trialPath);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:226: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).
      if (trialPath[strlen (trialPath) -1] != ud->file_separator)
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:338:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((ch = fgetc (nested->in)) != EOF)
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:458: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).
  int actionLength = strlen (action);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:461: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).
    if (actionLength == strlen (actions[k])
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:483:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (nested->valueLength == strlen (values[k]) &&
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:498: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).
  int length = strlen (digits);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:548:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (wordLength == strlen (values[k]) &&
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1294:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (k = strlen (configPath); k >= 0; k--)
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1359:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (ud->lit_hyphen, "-");
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1396:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      listLength = strlen (configFileList);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1407:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (subFile, configFileList, k);
data/liblouisutdml-2.9.0/liblouisutdml/readconfig.c:1417:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy (subFile,
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:246: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).
  latestEntry->key = malloc (strlen ((char *) key) + 2);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:267:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  keyLength = strlen ((char *) key);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:272: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).
      entryKeyLength = strlen ((char *) latestEntry->key);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:844:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = fgetc (nested->in)) != EOF)
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:955:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      listLength = strlen (ud->semantic_files);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:972:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (fileName, ud->semantic_files, k);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:985:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	      strncpy (fileName, &ud->semantic_files[currentListPos],
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1183:4:  [1] (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). Risk is low because the
  source is a constant character.
	  strcat ((char *) key, ",");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1185:4:  [1] (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). Risk is low because the
  source is a constant character.
	  strcat ((char *) key, ",");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1186: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).
	  oldKeyLength = strlen ((char *) key);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1187:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	  strncat ((char *) key, (char *) attrValue, sizeof (key) -
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1257:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
      strncat (key, macro, k);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1299: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).
    secondComma = strlen ((char *) nodeEntry->key);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1463: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).
  style = malloc (sizeof (StyleType) + strlen (name) + 3);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1554:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat (nameAndBody, ",");
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1738:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		      strncpy (&compiledMacro[pos], &macro[unPos], k);
data/liblouisutdml-2.9.0/liblouisutdml/semantics.c:1826: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).
  macroLength = strlen (macro);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:224: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).
	  if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:268: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).
      if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:364:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((ch = fgetc (ud->inFile)) != EOF)
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:381:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (ud->inFile);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:656: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).
  int length = strlen ((char *) text);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1028:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (setup, " ");
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1032:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (setup);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1080: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).
    utd_pagebreak (node, number, strlen (number));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1082: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).
    handlePagenum (number, strlen (number));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1163: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).
  int length = strlen ((char *) node->content);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1247:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (brlPageString, " ");
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1250: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).
      translationLength = strlen (brlPageString);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1253:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
      strcpy (brlPageString, " ");
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1256: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).
      translationLength = strlen (brlPageString);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1539: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).
	  insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1586: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).
	  insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1644: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).
      if (!insertCharacters (ud->pageEnd, strlen (ud->pageEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1860: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).
	  if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:1960: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).
		  fwrite (utf8Str, strlen ((char *) utf8Str), 1, ud->outFile);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2373: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).
	      if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2461: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).
		if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2550: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).
	      if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2582: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).
	  cellsToWrite = availableCells - strlen (ud->comp_hyphen);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2598: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).
	  if (!insertDubChars (ud->comp_hyphen, strlen (ud->comp_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2666: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).
	if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2767: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).
	if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:2841: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).
	    if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3000: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).
		if (!insertDubChars (ud->lit_hyphen, strlen (ud->lit_hyphen)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3112: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).
      if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3383: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).
		    if (!insertCharacters (xmlTags[kk], strlen (xmlTags[kk])))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3404: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).
	  if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3413: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).
  if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3415: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).
  if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3501: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).
      if (!insertCharacters (htmlStart, strlen (htmlStart)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3503: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).
      if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3558: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).
      if (!insertCharacters (htmlEnd, strlen (htmlEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3560: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).
      if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3587: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).
      if (!insertCharacters (htmlStart, strlen (htmlStart)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3589: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).
      if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3595:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = fgetc (ud->inFile)) != EOF)
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3643: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).
      if (!insertCharacters (htmlEnd, strlen (htmlEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3645: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).
      if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3666: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).
  insertCharacters ((char *) URL, strlen ((char *) URL));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3699: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).
    ud->outbuf1_len_so_far -= strlen (ud->lineEnd);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:3702: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).
  if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4025: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).
  doc = xmlParseMemory (starter, strlen (starter));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4175:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((ch = fgetc (ud->inFile)) != EOF)
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4188:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (ud->inFile);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4391:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((ch = fgetc (ud->inFile)) != EOF)
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4715:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
  strcpy (setup, "-");
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4718: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).
  kk = strlen (setup);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4722:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  length = strlen (setup);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:4775:48:  [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).
  setOrigTextChar (&pageNumber, brlPageString, strlen (brlPageString));
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5006: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).
      for (k = strlen (table); k >= 0; k--)
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5446: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).
	  cellsToWrite = availableCells - strlen (ud->comp_hyphen);
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5458: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).
	  if (!utd_insertCharacters (brlNode, ud->comp_hyphen, strlen
data/liblouisutdml-2.9.0/liblouisutdml/transcriber.c:5637: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).
	      if (!utd_insertCharacters (brlNode, ud->lit_hyphen, strlen
data/liblouisutdml-2.9.0/liblouisutdml/utd2brf.c:211: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).
  brf_insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2brf.c:212: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).
  brf_insertCharacters (ud->pageEnd, strlen (ud->pageEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2brf.c:245: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).
    brf_insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:287: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).
  insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:288: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).
  insertCharacters (ud->pageEnd, strlen (ud->pageEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2dsbible.c:308: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).
    insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2pef.c:152: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).
    writeCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2pef.c:155: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).
      writeCharacters (ud->pageEnd, strlen (ud->pageEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2transinxml.c:217: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).
  insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2transinxml.c:218: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).
  insertCharacters (ud->pageEnd, strlen (ud->pageEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2transinxml.c:230: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).
    insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2volumes.c:201: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).
  insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2volumes.c:202: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).
  insertCharacters (ud->pageEnd, strlen (ud->pageEnd));
data/liblouisutdml-2.9.0/liblouisutdml/utd2volumes.c:214: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).
    insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisutdml-2.9.0/tests/testTranslateString.c:22:28:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((inbuf[inlen++] = fgetc (inFile)) != EOF && inlen < BUFSIZE);
data/liblouisutdml-2.9.0/tools/file2brl.c:162:2:  [1] (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). Risk is low because the
  source is a constant character.
	strcat (configSettings, "\n");
data/liblouisutdml-2.9.0/tools/file2brl.c:235:20:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while ((ch = fgetc (inputFile)) != EOF)
data/liblouisutdml-2.9.0/tools/file2brl.c:254:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      nch = fgetc (inputFile);
data/liblouisutdml-2.9.0/tools/file2brl.c:277:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ch = fgetc (inputFile)) != EOF)
data/liblouisutdml-2.9.0/tools/file2brl.c:287:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    nch = fgetc (inputFile);

ANALYSIS SUMMARY:

Hits = 630
Lines analyzed = 24287 in approximately 0.78 seconds (31013 lines/second)
Physical Source Lines of Code (SLOC) = 19743
Hits@level = [0] 107 [1] 169 [2] 257 [3]  38 [4] 148 [5]  18
Hits@level+ = [0+] 737 [1+] 630 [2+] 461 [3+] 204 [4+] 166 [5+]  18
Hits/KSLOC@level+ = [0+] 37.3297 [1+] 31.91 [2+] 23.35 [3+] 10.3328 [4+] 8.40804 [5+] 0.911716
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.