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/liblouisxml-2.4.0/build-aux/link-warning.h
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_paragraph.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_chemistry.c
Examining data/liblouisxml-2.4.0/liblouisxml/readconfig.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_cdataSection.c
Examining data/liblouisxml-2.4.0/liblouisxml/semantics.c
Examining data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c
Examining data/liblouisxml-2.4.0/liblouisxml/liblouisxml.h
Examining data/liblouisxml-2.4.0/liblouisxml/change_table.c
Examining data/liblouisxml-2.4.0/liblouisxml/paths.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_graphic.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_computerCode.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_music.c
Examining data/liblouisxml-2.4.0/liblouisxml/sem_names.h
Examining data/liblouisxml-2.4.0/liblouisxml/make_sem_names.c
Examining data/liblouisxml-2.4.0/liblouisxml/louisxml.h
Examining data/liblouisxml-2.4.0/liblouisxml/sem_enum.h
Examining data/liblouisxml-2.4.0/liblouisxml/examine_document.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_document.c
Examining data/liblouisxml-2.4.0/liblouisxml/makeContents.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcribe_math.c
Examining data/liblouisxml-2.4.0/liblouisxml/transcriber.c
Examining data/liblouisxml-2.4.0/python/louisxml.c
Examining data/liblouisxml-2.4.0/tests/check_version.c
Examining data/liblouisxml-2.4.0/gnulib/progname.c
Examining data/liblouisxml-2.4.0/gnulib/version-etc.h
Examining data/liblouisxml-2.4.0/gnulib/getopt.c
Examining data/liblouisxml-2.4.0/gnulib/getopt.in.h
Examining data/liblouisxml-2.4.0/gnulib/version-etc.c
Examining data/liblouisxml-2.4.0/gnulib/getopt1.c
Examining data/liblouisxml-2.4.0/gnulib/unistd.in.h
Examining data/liblouisxml-2.4.0/gnulib/progname.h
Examining data/liblouisxml-2.4.0/gnulib/gettext.h
Examining data/liblouisxml-2.4.0/gnulib/stddef.in.h
Examining data/liblouisxml-2.4.0/gnulib/getopt_int.h
Examining data/liblouisxml-2.4.0/gnulib/stdarg.in.h
Examining data/liblouisxml-2.4.0/tools/xml2brl.c
Examining data/liblouisxml-2.4.0/tools/lbx_devonly.c

FINAL RESULTS:

data/liblouisxml-2.4.0/gnulib/unistd.in.h:138: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/liblouisxml-2.4.0/gnulib/unistd.in.h:139:12:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
extern int chown (const char *file, uid_t uid, gid_t gid);
data/liblouisxml-2.4.0/gnulib/unistd.in.h:143: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/liblouisxml-2.4.0/gnulib/unistd.in.h:144:10:  [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(f,u,g) \
data/liblouisxml-2.4.0/gnulib/unistd.in.h:148:6:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
     chown (f, u, g))
data/liblouisxml-2.4.0/gnulib/unistd.in.h:646:11:  [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/liblouisxml-2.4.0/gnulib/unistd.in.h:654:16:  [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.
extern ssize_t readlink (const char *file, char *buf, size_t bufsize);
data/liblouisxml-2.4.0/gnulib/unistd.in.h:657: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/liblouisxml-2.4.0/gnulib/unistd.in.h:658:10:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
# define readlink(f,b,s) \
data/liblouisxml-2.4.0/gnulib/unistd.in.h:661:6:  [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.
     readlink (f, b, s))
data/liblouisxml-2.4.0/gnulib/version-etc.c:78: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/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:55: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/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:170: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/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:172: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:80: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:80: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:81: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:77: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, ud->writeable_path);
data/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/paths.c:82: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 (currentPath, lou_getProgramPath ());
data/liblouisxml-2.4.0/liblouisxml/paths.c:86: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 (lbxPath, currentPath);
data/liblouisxml-2.4.0/liblouisxml/paths.c:88: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 (louisPath, currentPath);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:68: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:110: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:112: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:117: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], fileList);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:118: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:127: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:132: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], fileList);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:133: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:146: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:151: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], fileList);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:152: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:210: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:676: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:683: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:685: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:693: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->semantic_files, nested->value);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:953: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:957: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:964: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 (ud->contracted_table_name, ud->writeable_path);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:965: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 (ud->contracted_table_name, logFileNamex);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:1085: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/liblouisxml-2.4.0/liblouisxml/semantics.c:100: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/liblouisxml-2.4.0/liblouisxml/semantics.c:207: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/liblouisxml-2.4.0/liblouisxml/semantics.c:765: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, ud->writeable_path);
data/liblouisxml-2.4.0/liblouisxml/semantics.c:766: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/liblouisxml-2.4.0/liblouisxml/semantics.c:776: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/liblouisxml-2.4.0/liblouisxml/semantics.c:807: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/liblouisxml-2.4.0/liblouisxml/semantics.c:850: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/liblouisxml-2.4.0/liblouisxml/semantics.c:853: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/liblouisxml-2.4.0/liblouisxml/semantics.c:863: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/liblouisxml-2.4.0/liblouisxml/semantics.c:887: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/liblouisxml-2.4.0/liblouisxml/semantics.c:892: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1071: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1073: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1105: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1223: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, ud->writeable_path);
data/liblouisxml-2.4.0/liblouisxml/semantics.c:1224: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1225: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1292: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1293: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1306: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1307: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:718: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, LETSIGN);
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:719: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:803: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, LETSIGN);
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:804: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:866: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:867: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:868: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/liblouisxml-2.4.0/tools/lbx_devonly.c:100: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 (configurationFileName, argv[curarg + 1]);
data/liblouisxml-2.4.0/tools/lbx_devonly.c:117: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 (inputFileName, argv[curarg]);
data/liblouisxml-2.4.0/tools/xml2brl.c:145: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/liblouisxml-2.4.0/tools/xml2brl.c:197: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, ud->writeable_path);
data/liblouisxml-2.4.0/tools/xml2brl.c:289: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, ud->writeable_path);
data/liblouisxml-2.4.0/gnulib/getopt.c:104: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/liblouisxml-2.4.0/gnulib/getopt.c:239: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/liblouisxml-2.4.0/gnulib/getopt.c:1111: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/liblouisxml-2.4.0/gnulib/getopt.c:1133: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/liblouisxml-2.4.0/gnulib/getopt.in.h:56: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/liblouisxml-2.4.0/gnulib/getopt.in.h:57: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/liblouisxml-2.4.0/gnulib/getopt.in.h:67: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/liblouisxml-2.4.0/gnulib/getopt.in.h:67: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/liblouisxml-2.4.0/gnulib/getopt.in.h:68: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/liblouisxml-2.4.0/gnulib/getopt.in.h:68: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/liblouisxml-2.4.0/gnulib/getopt.in.h:224: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/liblouisxml-2.4.0/gnulib/getopt.in.h:228: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/liblouisxml-2.4.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/liblouisxml-2.4.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/liblouisxml-2.4.0/tools/xml2brl.c:112:18:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ((optc = getopt_long (argc, argv, "hvf:brptlC:", longopts, NULL)) != -1)
data/liblouisxml-2.4.0/build-aux/link-warning.h:18:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     ({ static const char warning[sizeof (message)]		\
data/liblouisxml-2.4.0/gnulib/gettext.h:209: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/liblouisxml-2.4.0/gnulib/gettext.h:211: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/liblouisxml-2.4.0/gnulib/gettext.h:219: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/liblouisxml-2.4.0/gnulib/gettext.h:221: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/liblouisxml-2.4.0/gnulib/gettext.h:255: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/liblouisxml-2.4.0/gnulib/gettext.h:257: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/liblouisxml-2.4.0/gnulib/gettext.h:265: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/liblouisxml-2.4.0/gnulib/gettext.h:267: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/liblouisxml-2.4.0/gnulib/version-etc.c:195: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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/examine_document.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 filePath[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:52: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/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:208: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, "w")))
data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:235: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, "r")))
data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:245: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, "w")))
data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:274: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, "r")))
data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:284: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, "w")))
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:192: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:197: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:198: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:203: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 contracted_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:204: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 uncontracted_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:205: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 compbrl_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:206: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 mathtext_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:207: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 mathexpr_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:208: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 edit_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:209: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 interline_back_table_name[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:210: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 semantic_files[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:225: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:226: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:227: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/liblouisxml-2.4.0/liblouisxml/louisxml.h:234: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[BUFSIZE];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:237: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 typeform[2 * BUFSIZE];
data/liblouisxml-2.4.0/liblouisxml/louisxml.h:302: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:51: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:78: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:79: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:166: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:241: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/liblouisxml-2.4.0/liblouisxml/makeContents.c:262: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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/paths.c:80:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char louisPath[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/paths.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char lbxPath[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/paths.c:83: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 (currentPath, "..\\");
data/liblouisxml-2.4.0/liblouisxml/paths.c:87: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 (lbxPath, "share\\liblouisxml\\lbx_files\\");
data/liblouisxml-2.4.0/liblouisxml/paths.c:89: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 (louisPath, "share\\liblouis\\tables\\");
data/liblouisxml-2.4.0/liblouisxml/readconfig.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[1024];
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:62: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/liblouisxml-2.4.0/liblouisxml/readconfig.c: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 trialPath[MAXNAMELEN];
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:97:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char pathEnd[2];
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:177: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:222: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:235: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, "r")))
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:381: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:407: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:576: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:579: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:587: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:592: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:595: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:607: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:641: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:680: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:682: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:684: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:686: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:867: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:870: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:873: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:876: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:917:38:  [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->centered_margin = atoi (nested->value);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:928:37:  [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/liblouisxml-2.4.0/liblouisxml/readconfig.c:951: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:980: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:981: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:1092: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/liblouisxml-2.4.0/liblouisxml/semantics.c:45: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/liblouisxml-2.4.0/liblouisxml/semantics.c:94: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/liblouisxml-2.4.0/liblouisxml/semantics.c:241: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/liblouisxml-2.4.0/liblouisxml/semantics.c:433: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/liblouisxml-2.4.0/liblouisxml/semantics.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 (&ud->text_buffer[ud->text_length], insertStart, CHARSIZE *
data/liblouisxml-2.4.0/liblouisxml/semantics.c:558: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/liblouisxml-2.4.0/liblouisxml/semantics.c:759: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/liblouisxml-2.4.0/liblouisxml/semantics.c:783: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, "r")))
data/liblouisxml-2.4.0/liblouisxml/semantics.c:818: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/liblouisxml-2.4.0/liblouisxml/semantics.c:825: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/liblouisxml-2.4.0/liblouisxml/semantics.c:891: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1205: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1206: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1207: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1216: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1221: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1226: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1288: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1305: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1316: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/liblouisxml-2.4.0/liblouisxml/transcribe_paragraph.c:60:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char          saved_soft_hyphens[2 * BUFSIZE];
data/liblouisxml-2.4.0/liblouisxml/transcribe_paragraph.c:73: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/liblouisxml-2.4.0/liblouisxml/transcribe_paragraph.c:457: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->running_head[0], &ud->translated_buffer[0],
data/liblouisxml-2.4.0/liblouisxml/transcribe_paragraph.c:466: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->footer[0], &ud->translated_buffer[0],
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:204: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:258: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:368: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:462: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:600: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:712: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:752: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:784: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:796: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:800: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:825: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:1520: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/liblouisxml-2.4.0/tools/lbx_devonly.c:69: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 configurationFileName[128];
data/liblouisxml-2.4.0/tools/lbx_devonly.c:71: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[128];
data/liblouisxml-2.4.0/tools/lbx_devonly.c:79: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 (configurationFileName, "default.cfg");
data/liblouisxml-2.4.0/tools/lbx_devonly.c:80: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/liblouisxml-2.4.0/tools/lbx_devonly.c:174: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 (!(inputFile = fopen (inputFileName, "r")))
data/liblouisxml-2.4.0/tools/lbx_devonly.c:187: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 (!(outputFile = fopen (outputFileName, "w")))
data/liblouisxml-2.4.0/tools/xml2brl.c:96: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/liblouisxml-2.4.0/tools/xml2brl.c:188: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/liblouisxml-2.4.0/tools/xml2brl.c:198: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, "xml2brl.temp");
data/liblouisxml-2.4.0/tools/xml2brl.c:199: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/liblouisxml-2.4.0/tools/xml2brl.c:288: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/liblouisxml-2.4.0/tools/xml2brl.c:290: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, "xml2brl2.temp");
data/liblouisxml-2.4.0/gnulib/getopt.c:270:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/liblouisxml-2.4.0/gnulib/getopt.c:497: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).
		== (unsigned int) strlen (p->name))
data/liblouisxml-2.4.0/gnulib/getopt.c:546: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).
	  d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:619: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).
		  d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:659: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).
		  d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:664: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).
	  d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:867: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).
	      if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/liblouisxml-2.4.0/gnulib/getopt.c:912:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:956: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).
		    d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:994: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).
		    d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/getopt.c:998:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    d->__nextchar += strlen (d->__nextchar);
data/liblouisxml-2.4.0/gnulib/gettext.h:205: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/liblouisxml-2.4.0/gnulib/gettext.h:206: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/liblouisxml-2.4.0/gnulib/gettext.h:251: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/liblouisxml-2.4.0/gnulib/gettext.h:252: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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:144: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).
  int inlen = strlen (inbuf);
data/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:164: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/liblouisxml-2.4.0/liblouisxml/liblouisxml.c:171: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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/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/liblouisxml-2.4.0/liblouisxml/readconfig.c:104: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:111: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:113: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:114: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 (trialPath, (char *) fileList, commaPos);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:124: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:126: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:128: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:129: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 (trialPath, (char *) fileList, commaPos);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:142: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:145: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:147: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:148: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 (trialPath, (char *) fileList, commaPos);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:256: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:373: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:376: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:398: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:954: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/liblouisxml-2.4.0/liblouisxml/readconfig.c:1046: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 (configFileList);
data/liblouisxml-2.4.0/liblouisxml/readconfig.c:1057:7:  [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/liblouisxml-2.4.0/liblouisxml/readconfig.c:1067:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (subFile,
data/liblouisxml-2.4.0/liblouisxml/semantics.c:206: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) + 1);
data/liblouisxml-2.4.0/liblouisxml/semantics.c:224: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/liblouisxml-2.4.0/liblouisxml/semantics.c:229: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/liblouisxml-2.4.0/liblouisxml/semantics.c:733: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/liblouisxml-2.4.0/liblouisxml/semantics.c:837: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/liblouisxml-2.4.0/liblouisxml/semantics.c:857: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/liblouisxml-2.4.0/liblouisxml/semantics.c:870: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1072: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1074: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1075: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1076: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1153: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/liblouisxml-2.4.0/liblouisxml/semantics.c:1215: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 (fileMode, "a");
data/liblouisxml-2.4.0/liblouisxml/semantics.c:1220: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 (fileMode, "w");
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:152: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:187: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:272: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:289:12:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ch = fgetc (ud->inFile);
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:415: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:637: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:639: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:660: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:664: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:716: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:720: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:744: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:805: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:1032: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:1083: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).
	    insertCharacters (ud->lineEnd, strlen (ud->lineEnd));
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1143: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:1355: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).
      else if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1438: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).
          fwrite (utf8Str, strlen ((char *) utf8Str), 1, ud->outFile);
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1551: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 (hyphens) - 2; k > 0; k--)
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1737: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 (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1829: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).
		  if (!insertDubChars (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1923: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).
		if (!insertDubChars (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1956: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 (compHyphen);
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:1972: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).
	  if (!insertDubChars (compHyphen, strlen (compHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2038: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).
	  if (!insertDubChars (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2140: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).
	  if (!insertDubChars (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2209: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 (!insertDubChars (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2312: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).
	  if (!insertDubChars (litHyphen, strlen (litHyphen)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2412: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).
      else if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2623: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2649: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).
	  else if (!insertCharacters (ud->lineEnd, strlen (ud->lineEnd)))
data/liblouisxml-2.4.0/liblouisxml/transcriber.c:2658: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2660: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2744: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2746: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2752: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2800: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2802: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2823: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2856: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/liblouisxml-2.4.0/liblouisxml/transcriber.c:2859: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/liblouisxml-2.4.0/tools/lbx_devonly.c:147: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).
	      configurationFileName[strlen (configurationFileName) - 1] = 0;
data/liblouisxml-2.4.0/tools/lbx_devonly.c:154: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).
	      namelen = strlen (inputFileName) - 1;
data/liblouisxml-2.4.0/tools/lbx_devonly.c:202: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/liblouisxml-2.4.0/tools/xml2brl.c:146: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/liblouisxml-2.4.0/tools/xml2brl.c:209: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/liblouisxml-2.4.0/tools/xml2brl.c:228:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      nch = fgetc (inputFile);
data/liblouisxml-2.4.0/tools/xml2brl.c:251: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/liblouisxml-2.4.0/tools/xml2brl.c:261: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 = 324
Lines analyzed = 15049 in approximately 0.44 seconds (34055 lines/second)
Physical Source Lines of Code (SLOC) = 12027
Hits@level = [0]  94 [1] 105 [2] 128 [3]  15 [4]  66 [5]  10
Hits@level+ = [0+] 418 [1+] 324 [2+] 219 [3+]  91 [4+]  76 [5+]  10
Hits/KSLOC@level+ = [0+] 34.7551 [1+] 26.9394 [2+] 18.209 [3+] 7.56631 [4+] 6.31912 [5+] 0.831463
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.