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/libconvert-uulib-perl-1.5~dfsg/uulib/crc32.h
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/acconfig.h
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/safealloc.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uustring.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uuutil.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.h
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uuint.h
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uudeview.h
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/crc32.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c
Examining data/libconvert-uulib-perl-1.5~dfsg/uulib/uustring.h

FINAL RESULTS:

data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1036:7:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      chmod (uugen_fnbuffer, thefile->mode & ~mask);
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:96: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 (result, string);
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:436:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
  res = fscanf (stream, format, buf);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:769:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "%s.%03d", nofname, ++nofnum);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:802:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (temp, "%s.%03d", nofname, ++nofnum);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:856:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (temp, "%s.%03d", nofname, ++nofnum);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:1472:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (uucheck_tempname, "%s.%03d", nofname, ++nofnum);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1214:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (oname, "%s", diskname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1225:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (oname, "%s%s", (uusavepath)?uusavepath:"", diskname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1239:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (oname, "%s%s", 
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1317: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  (optr, uuencodeext);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1550:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "- %s - %s (001/001)", oname, subject);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1552:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "- %s - (001/001)", oname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1556:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "%s (001/001) - [ %s ]", subject, oname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1558:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "[ %s ] (001/001)", oname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1717:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (mimeid, "UUDV-%ld.%ld.%s",
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1735:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "- %s - %s (%03d/%03d)", oname, subject,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1738:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "- %s - (%03d/%03d)", oname,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1743:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "%s (%03d/%03d) - [ %s ]", 
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1746:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (subline, "[ %s ] (%03d/%03d)",
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:307: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 (uulib_msgstring + msgofs, 1024 - msgofs, format, ap);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:995: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 (uugen_fnbuffer, destname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:647: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 (uuncdl_fulline + leftover, s);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:678: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 (uuncdl_fulline + leftover, s);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1359: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(data->binfile, tmpdir);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1361: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(data->binfile, tmpprefix);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1562: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(ntmp, tmpdir);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1564: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(ntmp, tmpprefix); 
data/libconvert-uulib-perl-1.5~dfsg/uulib/acconfig.h:57:8:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
#undef tempnam
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:484:22:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
  return _FP_strdup (tmpnam (NULL));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1341:11:  [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.
	  tmpdir=getenv("TMPDIR");
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1351:24:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
  if ((data->binfile = tempnam (NULL, "uu")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1544:17:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
    if ((ntmp = tempnam (NULL, "uu")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:135: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 (result, ptr, len);
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:419: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 format[64];
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:431:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (format, "%%%d[^\015\012]", n - 1);
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:470: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 number[8];
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:472:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (number, "%03d", errcode);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:367: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 (result, ptr, length);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:703: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 (iter);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:713: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 *where, *whend, temp[80], *ptr, *p2;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:1432: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 (liter->haveparts, haveparts, havecount*sizeof(int));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:1439: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 (liter->misparts, misparts, miscount*sizeof(int));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uudeview.h:171: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 curfile[256];		/* the file we are working on, incl. path  */
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:128: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.
unsigned char UUEncodeTable[64] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:140: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.
unsigned char B64EncodeTable[64] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:151: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.
unsigned char XXEncodeTable[64] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:162: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.
unsigned char BHEncodeTable[64] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:173: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.
unsigned char HexEncodeTable[16] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:226: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 *etables[5] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:652:21:  [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 ((theifile = fopen (infname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:827: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 ((theifile = fopen (infname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1081:21:  [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 ((theifile = fopen (infname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1271:21:  [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 ((theifile = fopen (infname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1319:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (optr, "%03d", part);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1356: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 ((outfile = fopen (oname, "w")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1622: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 mimeid[64];
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1654: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 ((theifile = fopen (infname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:168:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char uulibversion[256] = VERSION "pl" PATCH;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:486: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 (cvalue, &progress, sizeof (uuprogress));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:728: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 ((datei = fopen (filename, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:964: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 ((source = fopen (thefile->binfile, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:998:5:  [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 (uugen_fnbuffer, "%.1024s%.3071s",
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1053:17:  [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 ((fildes = open (uugen_fnbuffer,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1174: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 ((inpfile = fopen (uugen_fnbuffer, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1184: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 ((inpfile = fopen (thefile->thisfile->data->sfname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:103: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 *save[3];
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1106:17:  [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).
	  yefilesize = atoi (ptr);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1113:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          int partno = atoi (ptr + 6);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1116: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).
            yenotlastpart = atoi (ptr + 7) != partno;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1126:17:  [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).
	  yepartends = atoi (ptr + 5);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1165:16:  [2] (integer) atol:
  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).
	size_t size = atol(ptr + 6);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1312: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 r[8];
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1363:16:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  if ((tmpfd = mkstemp(data->binfile)) == -1 || 
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1366:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((dataout = fopen (data->binfile, mode)) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1459:21:  [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 ((datain = fopen (uugen_fnbuffer, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1470:21:  [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 ((datain = fopen (iter->data->sfname, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1551:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((datain = fopen (data->binfile, "rb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1565:18:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    if ((tmpfd = mkstemp(ntmp)) == -1 ||
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1568: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 ((dataout = fopen (ntmp, "wb")) == NULL) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:470:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	theheaders->partno = atoi (thenew);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:475: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).
	theheaders->numparts = atoi (thenew);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:779:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      result->partno = atoi (line + 8);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:834:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	result->partno = atoi (ptr);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:838:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	result->maxpno = atoi (ptr);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:971:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	result->yefilesize = atoi (ptr);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:982:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	result->partno = atoi (ptr + 6);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:989:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  result->maxpno = atoi (ptr + 7);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1003:15:  [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).
	yepartends = atoi (ptr + 5);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1113: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 (bhds1, bhds2+1, (int) bhds2[0]);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1119: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 (bhds1, bhds2+1, 255);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1798:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1871: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 (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1981: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 (&sstate, &(multistack[mssdepth]), sizeof (scanstate));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2036:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2169: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 (&multistack[mssdepth], &sstate, sizeof (scanstate));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2170: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 (&sstate.envelope,    &localenv, sizeof (headers));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2345:4:  [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 (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2516:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2790:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:3016:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:3172:5:  [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 (line, "%04d.txt", ++mimseqno);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uustring.c:135:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *codenames[8] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uustring.c:143:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char *msgnames[6] = {
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:93:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if ((result = (char *) malloc (strlen (string) + 1)) == NULL)
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.c:377: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).
  ptr = string + strlen (string) - 1;
data/libconvert-uulib-perl-1.5~dfsg/uulib/fptools.h:57:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define FP_fgetc(s) fgetc (s)
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:358:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    length = strlen (nofname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:611: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).
    count = strlen(subject) - 1;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:684: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).
      ptr = (*whend += strlen (delim));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:742:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 strlen (data->filename)+1);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:780:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (strlen(temp)+1):(strlen(result->filename)+1));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:780: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).
		 (strlen(temp)+1):(strlen(result->filename)+1));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:812:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (strlen(result->filename)+1):(strlen(temp)+1));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:812:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (strlen(result->filename)+1):(strlen(temp)+1));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:863: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).
		   (strlen(result->filename)+1):(strlen(temp)+1));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uucheck.c:863: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).
		   (strlen(result->filename)+1):(strlen(temp)+1));
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:275: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).
      count = strlen (itemp);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:298:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		      strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:298: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).
		      strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:344:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:344: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).
			strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:360:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			  strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:360: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).
			  strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:392:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:392: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).
			strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:447:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		      strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:447: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).
		      strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:493:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:493: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).
		  strlen(eolstring), outfile) != strlen (eolstring)) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:607: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).
    llen   += strlen ((char *) eolstring);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1207: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).
      len = strlen (diskname) + ((uuencodeext)?strlen(uuencodeext):3) + 5;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1207: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).
      len = strlen (diskname) + ((uuencodeext)?strlen(uuencodeext):3) + 5;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1217: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).
      len = ((uusavepath)?strlen(uusavepath):0) + strlen (diskname) 
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1217:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      len = ((uusavepath)?strlen(uusavepath):0) + strlen (diskname) 
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1218: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).
	+ ((uuencodeext)?strlen(uuencodeext):0) + 5;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1229: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).
    len = ((uusavepath) ? strlen (uusavepath) : 0) + 
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1230: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).
      strlen(UUFNameFilter(infname)) +
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1231: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).
	((uuencodeext)?strlen(uuencodeext):0) + 5;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1251: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).
    optr = oname + strlen (oname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1255: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).
    optr = oname + strlen (oname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1528: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).
  len   = ((subject)?strlen(subject):0) + strlen(oname) + 40;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1528: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).
  len   = ((subject)?strlen(subject):0) + strlen(oname) + 40;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1640: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).
  len   = ((subject)?strlen(subject):0) + strlen (oname) + 40;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1640: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).
  len   = ((subject)?strlen(subject):0) + strlen (oname) + 40;
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuencode.c:1719:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	     (strlen(oname)>16)?"oops":oname);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:299:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    msgofs = strlen (uulib_msgstring);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:303:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    msgofs = strlen (uulib_msgstring);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:756: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).
		 uustring (S_OUT_OF_MEMORY), strlen(filename)+1);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:772: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).
	       (strlen(filename)>255)?
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:773: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).
	       (filename+strlen(filename)-255):filename,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1031:14:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      mask = umask (0022); umask (mask);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1031:28:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      mask = umask (0022); umask (mask);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1043: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).
	       (strlen(uugen_fnbuffer)>255)?
data/libconvert-uulib-perl-1.5~dfsg/uulib/uulib.c:1044: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).
	       (uugen_fnbuffer+strlen(uugen_fnbuffer)-255):uugen_fnbuffer,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:196:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (string==NULL || (len=strlen(string))<3)
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:542:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen (line) > 250)
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:544: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).
      ptr = line + strlen (line);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:576: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).
    ptr    = line + strlen(line);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:757: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).
	strncmp (line+2, boundary, strlen (boundary)) == 0) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:758:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (line[strlen(boundary)+2]=='-')
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:857: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).
	strncmp (line+2, boundary, strlen (boundary)) == 0) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:858:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (line[strlen(boundary)+2]=='-')
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:871: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).
    ptr = line + strlen (line);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1050: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).
	strncmp (line+2, boundary, strlen (boundary)) == 0) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1051:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (line[strlen(boundary)+2]=='-')
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1347:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  data->binfile = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1347: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).
  data->binfile = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1360:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat(data->binfile, "/");
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1413:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (strlen(data->filename)>255)?
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1414: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).
		 (data->filename+strlen(data->filename)-255):data->filename,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1419:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		 (strlen(data->binfile)>255)?
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1420: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).
		 (data->binfile+strlen(data->binfile)-255):data->binfile,
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1540: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).
	  ntmp = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1540:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  ntmp = malloc(strlen(tmpdir)+strlen(tmpprefix)+2);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uunconc.c:1563:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(ntmp, "/");
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:199: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).
  llength = strlen (uuscan_shlline);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:240:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c = strlen (ptr);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:630: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).
    blen = strlen (boundary);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:747: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).
      while (isspace (result->filename[strlen(result->filename)-1]))
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:748: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).
	result->filename[strlen(result->filename)-1] = '\0';
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:917:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	line[0] == '-' && line[1] == '-' && strlen(line+2)>10 &&
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:961:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          while (isspace (result->filename[strlen(result->filename)-1]))
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:962: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).
            result->filename[strlen(result->filename)-1] = '\0';
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1049: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).
      islen[iscnt%10] = strlen(line);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1062:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  strlen (line) < 40 && !result->begin && !uu_tinyb64) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1069:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      strlen (line) < 40 && !result->begin) {
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1736:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    blen   = strlen (sstate.envelope.boundary);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1897:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      blen = strlen (multistack[mssdepth-1].envelope.boundary);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:1983: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).
      ptr1 = line + 2 + strlen (sstate.envelope.boundary);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2232:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      blen = strlen (sstate.envelope.boundary);
data/libconvert-uulib-perl-1.5~dfsg/uulib/uuscan.c:2399: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).
    blen    = strlen (sstate.envelope.boundary);

ANALYSIS SUMMARY:

Hits = 192
Lines analyzed = 11838 in approximately 0.33 seconds (36200 lines/second)
Physical Source Lines of Code (SLOC) = 8212
Hits@level = [0]  85 [1]  88 [2]  71 [3]   5 [4]  27 [5]   1
Hits@level+ = [0+] 277 [1+] 192 [2+] 104 [3+]  33 [4+]  28 [5+]   1
Hits/KSLOC@level+ = [0+] 33.7311 [1+] 23.3804 [2+] 12.6644 [3+] 4.01851 [4+] 3.40964 [5+] 0.121773
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.