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/mxml-3.2/mxml-private.c
Examining data/mxml-3.2/testmxml.c
Examining data/mxml-3.2/mxml-entity.c
Examining data/mxml-3.2/mxml-set.c
Examining data/mxml-3.2/mxml-node.c
Examining data/mxml-3.2/mxml-get.c
Examining data/mxml-3.2/mxml-search.c
Examining data/mxml-3.2/test/functype.cxx
Examining data/mxml-3.2/test/type.cxx
Examining data/mxml-3.2/test/struct.cxx
Examining data/mxml-3.2/test/class.cxx
Examining data/mxml-3.2/test/enum.cxx
Examining data/mxml-3.2/test/function.cxx
Examining data/mxml-3.2/mxml-index.c
Examining data/mxml-3.2/vcnet/config.h
Examining data/mxml-3.2/xcode/config.h
Examining data/mxml-3.2/mxml-file.c
Examining data/mxml-3.2/mxml-attr.c
Examining data/mxml-3.2/mxml.h
Examining data/mxml-3.2/mxml-string.c
Examining data/mxml-3.2/mxml-private.h

FINAL RESULTS:

data/mxml-3.2/mxml-private.c:73: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(s, sizeof(s), format, ap);
data/mxml-3.2/mxml-string.c:52:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  bytes = vsnprintf(buffer, bufsize, format, ap);
data/mxml-3.2/mxml-string.c:77:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  return (strcpy(t, s));
data/mxml-3.2/mxml-string.c:350:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(temp, tformat, va_arg(ap, double));
data/mxml-3.2/mxml-string.c:363: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(bufptr, temp);
data/mxml-3.2/mxml-string.c:382:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	      sprintf(temp, tformat, va_arg(ap, long long));
data/mxml-3.2/mxml-string.c:385:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(temp, tformat, va_arg(ap, int));
data/mxml-3.2/mxml-string.c:398: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(bufptr, temp);
data/mxml-3.2/mxml-string.c:408:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf(temp, tformat, va_arg(ap, void *));
data/mxml-3.2/mxml-string.c:421: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(bufptr, temp);
data/mxml-3.2/mxml-string.c:539:16:  [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.
  if ((bytes = vsnprintf(temp, sizeof(temp), format, apcopy)) < sizeof(temp))
data/mxml-3.2/mxml-string.c:554:5:  [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, bytes + 1, format, ap);
data/mxml-3.2/testmxml.c:739:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    if (system(command))
data/mxml-3.2/vcnet/config.h:56: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/mxml-3.2/vcnet/config.h:56:19:  [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/mxml-3.2/vcnet/config.h:58: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/mxml-3.2/vcnet/config.h:131:13:  [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 _mxml_snprintf
data/mxml-3.2/vcnet/config.h:136:13:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#    define vsnprintf _mxml_vsnprintf
data/mxml-3.2/testmxml.c:731:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv("TEST_DELAY") != NULL)
data/mxml-3.2/testmxml.c:732:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    sleep(atoi(getenv("TEST_DELAY")));
data/mxml-3.2/testmxml.c:734:7:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (getenv("TEST_LEAKS") != NULL)
data/mxml-3.2/mxml-file.c: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	buffer[8192];			/* Temporary buffer */
data/mxml-3.2/mxml-file.c:356: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	*ptr[2];			/* Pointers for putc_cb */
data/mxml-3.2/mxml-file.c:1307: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	entity[64],			/* Entity string */
data/mxml-3.2/mxml-file.c:2774: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		s[255];			/* Temporary string */
data/mxml-3.2/mxml-node.c:707: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	element[1024];			/* Element text */
data/mxml-3.2/mxml-private.c:55: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		s[1024];		/* Message string */
data/mxml-3.2/mxml-search.c:125: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		element[256];		/* Current element name */
data/mxml-3.2/mxml-search.c:166:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(element, path, pathsep - path);
data/mxml-3.2/mxml-string.c:31:30:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define va_copy(dst,src) memcpy(&dst, &src, sizeof(va_list))
data/mxml-3.2/mxml-string.c:212: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		tformat[100],		/* Temporary format string for sprintf() */
data/mxml-3.2/mxml-string.c:439: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(bufptr, va_arg(ap, char *), (size_t)width);
data/mxml-3.2/test/struct.cxx:54: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	b[255];				/* Value of "b" */
data/mxml-3.2/testmxml.c:63: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[16384];	/* Save string */
data/mxml-3.2/testmxml.c:472:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  else if ((fp = fopen(argv[1], "rb")) == NULL)
data/mxml-3.2/testmxml.c:534:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  else if ((fp = fopen(argv[1], "rb")) == NULL)
data/mxml-3.2/testmxml.c:593: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).
      fp = fopen(argv[2], "w");
data/mxml-3.2/testmxml.c:615:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(argv[1], O_RDONLY | O_BINARY)) < 0)
data/mxml-3.2/testmxml.c:635:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(buffer, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666)) < 0)
data/mxml-3.2/testmxml.c:665:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  else if ((fp = fopen(argv[1], "rb")) == NULL)
data/mxml-3.2/testmxml.c:732:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    sleep(atoi(getenv("TEST_DELAY")));
data/mxml-3.2/testmxml.c:736:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char command[1024];
data/mxml-3.2/vcnet/config.h:54:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define open		_open
data/mxml-3.2/mxml-file.c:1000:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((bytes = (int)read(buf->fd, buf->buffer, sizeof(buf->buffer))) < 0)
data/mxml-3.2/mxml-file.c:1083:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ch = getc(fp);
data/mxml-3.2/mxml-file.c:1116:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ch = getc(fp);
data/mxml-3.2/mxml-file.c:1130:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          ch = getc(fp);
data/mxml-3.2/mxml-file.c:1144:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((temp = getc(fp)) == EOF || (temp & 0xc0) != 0x80)
data/mxml-3.2/mxml-file.c:1161:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((temp = getc(fp)) == EOF || (temp & 0xc0) != 0x80)
data/mxml-3.2/mxml-file.c:1166:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((temp = getc(fp)) == EOF || (temp & 0xc0) != 0x80)
data/mxml-3.2/mxml-file.c:1190:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((temp = getc(fp)) == EOF || (temp & 0xc0) != 0x80)
data/mxml-3.2/mxml-file.c:1195:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((temp = getc(fp)) == EOF || (temp & 0xc0) != 0x80)
data/mxml-3.2/mxml-file.c:1200:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((temp = getc(fp)) == EOF || (temp & 0xc0) != 0x80)
data/mxml-3.2/mxml-file.c:1220:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch = (ch << 8) | getc(fp);
data/mxml-3.2/mxml-file.c:1234:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          int lch = getc(fp);
data/mxml-3.2/mxml-file.c:1235:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          lch = (lch << 8) | getc(fp);
data/mxml-3.2/mxml-file.c:1249:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch |= (getc(fp) << 8);
data/mxml-3.2/mxml-file.c:1263:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          int lch = getc(fp);
data/mxml-3.2/mxml-file.c:1264:19:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          lch |= (getc(fp) << 8);
data/mxml-3.2/mxml-file.c:2829:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  col += strlen(current->value.element.name) + 1;
data/mxml-3.2/mxml-file.c:2835: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).
	    width = (int)strlen(attr->name);
data/mxml-3.2/mxml-file.c:2838: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).
	      width += strlen(attr->value) + 3;
data/mxml-3.2/mxml-file.c:2935:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  col += strlen(s);
data/mxml-3.2/mxml-file.c:2942:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  col += strlen(current->value.opaque);
data/mxml-3.2/mxml-file.c:2965:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  col += strlen(s);
data/mxml-3.2/mxml-file.c:2987:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  col += strlen(current->value.text.string);
data/mxml-3.2/mxml-file.c:3004: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).
	      col += strlen(data);
data/mxml-3.2/mxml-file.c:3006: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).
	      col = (int)strlen(newline);
data/mxml-3.2/mxml-file.c:3061:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    col += strlen(current->value.element.name) + 3;
data/mxml-3.2/mxml-search.c:161: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).
      pathsep = path + strlen(path);
data/mxml-3.2/mxml-string.c:74: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).
  if ((t = malloc(strlen(s) + 1)) == NULL)
data/mxml-3.2/mxml-string.c:130: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).
  dstlen = strlen(dst);
data/mxml-3.2/mxml-string.c:141: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).
  srclen = strlen(src);
data/mxml-3.2/mxml-string.c:177: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).
  srclen = strlen(src);
data/mxml-3.2/mxml-string.c:261:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tptr += strlen(tptr);
data/mxml-3.2/mxml-string.c:293: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).
	  tptr += strlen(tptr);
data/mxml-3.2/mxml-string.c:352: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).
            bytes += strlen(temp);
data/mxml-3.2/mxml-string.c:356: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).
	      if ((bufptr + strlen(temp)) > bufend)
data/mxml-3.2/mxml-string.c:358:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(bufptr, temp, (size_t)(bufend - bufptr));
data/mxml-3.2/mxml-string.c:364:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bufptr += strlen(temp);
data/mxml-3.2/mxml-string.c:387: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).
            bytes += strlen(temp);
data/mxml-3.2/mxml-string.c:391: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).
	      if ((bufptr + strlen(temp)) > bufend)
data/mxml-3.2/mxml-string.c:393:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(bufptr, temp, (size_t)(bufend - bufptr));
data/mxml-3.2/mxml-string.c:399:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bufptr += strlen(temp);
data/mxml-3.2/mxml-string.c:410: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).
            bytes += strlen(temp);
data/mxml-3.2/mxml-string.c:414: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).
	      if ((bufptr + strlen(temp)) > bufend)
data/mxml-3.2/mxml-string.c:416:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(bufptr, temp, (size_t)(bufend - bufptr));
data/mxml-3.2/mxml-string.c:422:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		bufptr += strlen(temp);
data/mxml-3.2/mxml-string.c:449:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    slen = strlen(s);
data/mxml-3.2/mxml-string.c:465:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(bufptr, s, (size_t)slen);
data/mxml-3.2/mxml-string.c:471:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(bufptr + width - slen, s, (size_t)slen);
data/mxml-3.2/vcnet/config.h:55:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define read	        _read

ANALYSIS SUMMARY:

Hits = 92
Lines analyzed = 9216 in approximately 0.25 seconds (36658 lines/second)
Physical Source Lines of Code (SLOC) = 5132
Hits@level = [0] 106 [1]  49 [2]  22 [3]   3 [4]  18 [5]   0
Hits@level+ = [0+] 198 [1+]  92 [2+]  43 [3+]  21 [4+]  18 [5+]   0
Hits/KSLOC@level+ = [0+] 38.5814 [1+] 17.9267 [2+] 8.3788 [3+] 4.09197 [4+] 3.5074 [5+]   0
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.