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/libace-perl-1.92/RPC/RPC.h
Examining data/libace-perl-1.92/acelib/wh/regular.h
Examining data/libace-perl-1.92/acelib/wh/mydirent.h
Examining data/libace-perl-1.92/acelib/wh/liste.h
Examining data/libace-perl-1.92/acelib/wh/menu_.h
Examining data/libace-perl-1.92/acelib/wh/aceversion.h
Examining data/libace-perl-1.92/acelib/wh/call.h
Examining data/libace-perl-1.92/acelib/wh/bump.h
Examining data/libace-perl-1.92/acelib/wh/dict.h
Examining data/libace-perl-1.92/acelib/wh/freeout.h
Examining data/libace-perl-1.92/acelib/wh/heap.h
Examining data/libace-perl-1.92/acelib/wh/help.h
Examining data/libace-perl-1.92/acelib/wh/menu.h
Examining data/libace-perl-1.92/acelib/wh/acedb.h
Examining data/libace-perl-1.92/acelib/wh/regression.h
Examining data/libace-perl-1.92/acelib/wh/help_.h
Examining data/libace-perl-1.92/acelib/wh/aceclient.h
Examining data/libace-perl-1.92/acelib/wh/mystdlib.h
Examining data/libace-perl-1.92/acelib/wh/array.h
Examining data/libace-perl-1.92/acelib/wh/version.h
Examining data/libace-perl-1.92/acelib/wh/keyset.h
Examining data/libace-perl-1.92/acelib/wh/bump_.h
Examining data/libace-perl-1.92/acelib/wh/mytime.h
Examining data/libace-perl-1.92/acelib/randsubs.c
Examining data/libace-perl-1.92/acelib/texthelp.c
Examining data/libace-perl-1.92/acelib/filsubs.c
Examining data/libace-perl-1.92/acelib/aceclientlib.c
Examining data/libace-perl-1.92/acelib/liste.c
Examining data/libace-perl-1.92/acelib/helpsubs.c
Examining data/libace-perl-1.92/acelib/call.c
Examining data/libace-perl-1.92/acelib/bump.c
Examining data/libace-perl-1.92/acelib/dict.c
Examining data/libace-perl-1.92/acelib/freeout.c
Examining data/libace-perl-1.92/acelib/heap.c
Examining data/libace-perl-1.92/acelib/menu.c
Examining data/libace-perl-1.92/acelib/freesubs.c
Examining data/libace-perl-1.92/acelib/timesubs.c
Examining data/libace-perl-1.92/acelib/messubs.c
Examining data/libace-perl-1.92/acelib/memsubs.c
Examining data/libace-perl-1.92/acelib/arraysub.c

FINAL RESULTS:

data/libace-perl-1.92/acelib/aceclientlib.c:520: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(answer,loop);
data/libace-perl-1.92/acelib/aceclientlib.c:526: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(answer,loop);
data/libace-perl-1.92/acelib/call.c:122:10:  [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.
  return system (buildCommand (dir, script, args)) ;
data/libace-perl-1.92/acelib/call.c:140:10:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  pipe = popen (command, "r" ) ;
data/libace-perl-1.92/acelib/filsubs.c:217: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 (path_copy, path);
data/libace-perl-1.92/acelib/filsubs.c:254: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 (path_copy, dir) ;
data/libace-perl-1.92/acelib/filsubs.c:268: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 (path_copy, drive) ;
data/libace-perl-1.92/acelib/filsubs.c:269: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 (path_copy, dir) ;
data/libace-perl-1.92/acelib/filsubs.c:283: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 (path_copy, pwd) ;
data/libace-perl-1.92/acelib/filsubs.c:284: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 (path_copy, SUBDIR_DELIMITER_STR) ;
data/libace-perl-1.92/acelib/filsubs.c:285: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 (path_copy, dir) ;
data/libace-perl-1.92/acelib/filsubs.c:312:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      return !(access (name, R_OK)) ;
data/libace-perl-1.92/acelib/filsubs.c:315:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if (!access (name, W_OK))	/* requires file exists */
data/libace-perl-1.92/acelib/filsubs.c:322:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return !(access (".", W_OK)) ;
data/libace-perl-1.92/acelib/filsubs.c:325:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	  result = !(access (name, W_OK)) ;
data/libace-perl-1.92/acelib/filsubs.c:330:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      return !(access (name, X_OK)) ;
data/libace-perl-1.92/acelib/filsubs.c:667: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 (entryPathName, dirName) ;
data/libace-perl-1.92/acelib/filsubs.c:680: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 (leaf, dName) ;
data/libace-perl-1.92/acelib/filsubs.c:690: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 (dName_copy, dName);
data/libace-perl-1.92/acelib/filsubs.c:830: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(cwd, SUBDIR_DELIMITER_STR) ; /* then tack on a SUBDIR_DELIMITER*/
data/libace-perl-1.92/acelib/filsubs.c:831:8:  [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(cwd, path) ;
data/libace-perl-1.92/acelib/filsubs.c:849: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(cwd, SUBDIR_DELIMITER_STR) ; /* then tack on a SUBDIR_DELIMITER */
data/libace-perl-1.92/acelib/filsubs.c:850: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(cwd, path) ;
data/libace-perl-1.92/acelib/freeout.c:207:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf (stackText (outBuf,0), format,args) ;
data/libace-perl-1.92/acelib/freesubs.c:125: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 (stream[streamlevel].special, text) ;
data/libace-perl-1.92/acelib/freesubs.c:156:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf (!currfil ? "From text >" : "From file >") ;
data/libace-perl-1.92/acelib/freesubs.c:280:7:  [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.
      system ((char*)pos) ;
data/libace-perl-1.92/acelib/freesubs.c:388: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 (stream[streamlevel].special, stream[streamlevel-1].special) ;
data/libace-perl-1.92/acelib/helpsubs.c:69: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 (helpDir, dirname);
data/libace-perl-1.92/acelib/helpsubs.c:78: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 (helpDir, filGetFullPath ("whelp"));
data/libace-perl-1.92/acelib/helpsubs.c:190:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(filename, "%s%s%s.%s", 
data/libace-perl-1.92/acelib/helpsubs.c:216:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(filename, "%s%s%s.%s", 
data/libace-perl-1.92/acelib/helpsubs.c:240:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(filename, "%s%s%s.%s", 
data/libace-perl-1.92/acelib/helpsubs.c:270:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	      sprintf(filename, "%s%s%s", 
data/libace-perl-1.92/acelib/helpsubs.c:349: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 (link_path, link);
data/libace-perl-1.92/acelib/helpsubs.c:353: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 (link_path, helpGetDir());
data/libace-perl-1.92/acelib/helpsubs.c:354: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 (link_path, SUBDIR_DELIMITER_STR);
data/libace-perl-1.92/acelib/helpsubs.c:355: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 (link_path, link);
data/libace-perl-1.92/acelib/helpsubs.c:488: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 (cp, s+2) ;
data/libace-perl-1.92/acelib/helpsubs.c:524:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (text,
data/libace-perl-1.92/acelib/helpsubs.c:579:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (cp, "<LI><A HREF=%s.%s>%s</A>\n",
data/libace-perl-1.92/acelib/helpsubs.c:643: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 (s+1, s+5) ;
data/libace-perl-1.92/acelib/helpsubs.c:648: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 (s+1, s+5) ;
data/libace-perl-1.92/acelib/helpsubs.c:653: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 (s+1, s+5) ;
data/libace-perl-1.92/acelib/helpsubs.c:658: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 (s+1, s+5) ;
data/libace-perl-1.92/acelib/helpsubs.c:663: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 (s+1, s+6) ;
data/libace-perl-1.92/acelib/helpsubs.c:668: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 (s+1, s+5) ;
data/libace-perl-1.92/acelib/helpsubs.c:673: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 (s+1, s+4) ;
data/libace-perl-1.92/acelib/helpsubs.c:678: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 (s+1, s+4) ;
data/libace-perl-1.92/acelib/helpsubs.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 (s+1, s+6) ;
data/libace-perl-1.92/acelib/memsubs.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(result, old);
data/libace-perl-1.92/acelib/messubs.c:429:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
       rc = sprintf(prefix, CRASH_PREFIX_FORMAT, messGetErrorFile(), messGetErrorLine()) ;
data/libace-perl-1.92/acelib/messubs.c:431:13:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
       rc = sprintf(prefix, FULL_CRASH_PREFIX_FORMAT,
data/libace-perl-1.92/acelib/messubs.c:611: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).
      if (strcpy (buf_ptr, prefix) == NULL) 
data/libace-perl-1.92/acelib/messubs.c:637:18:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    return_str = vsprintf((buf_ptr + prefix_len), format, args) + prefix_len + 1 ;
data/libace-perl-1.92/acelib/messubs.c:660:21:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    int num_bytes = vsprintf((buf_ptr + prefix_len), format, args) + prefix_len + 1 ;
data/libace-perl-1.92/acelib/timesubs.c:703: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 (buf, messprintf ("%d", ddiff)) ;
data/libace-perl-1.92/acelib/timesubs.c:706: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 (buf, messprintf ("%d_", ddiff)) ;
data/libace-perl-1.92/acelib/timesubs.c:707: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 (buf, messprintf ("%02d:%02d", hdiff, mindiff)) ;
data/libace-perl-1.92/acelib/timesubs.c:709: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 (buf, messprintf (":%02d", sdiff)) ;
data/libace-perl-1.92/acelib/timesubs.c:716: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 (buf, messprintf ("%d-%02d-0", ydiff, mdiff)) ;
data/libace-perl-1.92/acelib/timesubs.c:718: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 (buf, messprintf ("%d-0", mdiff)) ;
data/libace-perl-1.92/acelib/wh/mystdlib.h:204:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define popen _popen
data/libace-perl-1.92/acelib/wh/mystdlib.h:294:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
int      system    (const char *command);
data/libace-perl-1.92/acelib/wh/mystdlib.h:340:6:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
 int vfprintf (FILE *stream, const char *format, va_list arglist);
data/libace-perl-1.92/acelib/wh/mystdlib.h:341:6:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
 int vprintf  (const char *format, va_list arglist);
data/libace-perl-1.92/acelib/wh/mystdlib.h:345:8:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
 char *vsprintf (char *buffer, const char *format, va_list arglist);
data/libace-perl-1.92/acelib/wh/mystdlib.h:348:6:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
 int vsprintf (char *buffer, const char *format, va_list arglist);
data/libace-perl-1.92/acelib/wh/mystdlib.h:361:11:  [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.
int       fprintf  (FILE *stream, const char *format, ...);
data/libace-perl-1.92/acelib/wh/mystdlib.h:362:11:  [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.
int       fscanf   (FILE *stream, const char *format, ...);
data/libace-perl-1.92/acelib/wh/mystdlib.h:363:11:  [4] (buffer) scanf:
  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.
int       scanf    (const char *format, ...);
data/libace-perl-1.92/acelib/wh/mystdlib.h:364:11:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
int       printf   (const char *format, ...);
data/libace-perl-1.92/acelib/wh/mystdlib.h:365:11:  [4] (buffer) sscanf:
  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.
int       sscanf   (const char *buffer, const char *format, ...);
data/libace-perl-1.92/acelib/wh/mystdlib.h:378:12:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
FILE      *popen   (const char *command, const char *type);
data/libace-perl-1.92/acelib/filsubs.c:93: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.
		(home = getenv (HOME_DIR_ENVP))) /* substitute */
data/libace-perl-1.92/acelib/filsubs.c:97:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      drive = getenv ("HOMEDRIVE") ;
data/libace-perl-1.92/acelib/filsubs.c:276:19:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
  else if ((pwd = getwd (dirbuf)))
data/libace-perl-1.92/acelib/filsubs.c:410:16:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
    filAddDir (getwd (stackText (full, 0))) ;
data/libace-perl-1.92/acelib/filsubs.c:494:20:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
  if (!(*nameptr = tempnam ("/var/tmp", "ACEDB")))
data/libace-perl-1.92/acelib/filsubs.c:496:20:  [3] (tmpfile) tempnam:
  Temporary file race condition (CWE-377).
  if (!(*nameptr = tempnam ("/tmp", "ACEDB")))
data/libace-perl-1.92/acelib/filsubs.c:843:18:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
      if( (cwd = getwd(cwdpath)) != NULL )	/* If a non-NULL current working */
data/libace-perl-1.92/acelib/randsubs.c:20:5:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
int random(void);		/* in libc.a */
data/libace-perl-1.92/acelib/randsubs.c:45:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
   return random() ;
data/libace-perl-1.92/acelib/wh/mydirent.h:53:9:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
#define getwd(buf) getcwd(buf,MAXPATHLEN - 2) 
data/libace-perl-1.92/acelib/wh/mydirent.h:55:14:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
extern char *getwd(char *pathname) ;
data/libace-perl-1.92/acelib/wh/mystdlib.h:298:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
char   * getenv    (const char *name);
data/libace-perl-1.92/acelib/wh/mystdlib.h:384: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.
char      getopt   (int c, char **s1, char *s2);
data/libace-perl-1.92/acelib/aceclientlib.c:53:7:  [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).
  f = fopen (name, "r") ;
data/libace-perl-1.92/acelib/aceclientlib.c:71:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(f = fopen(dirName, "r")))
data/libace-perl-1.92/acelib/aceclientlib.c:91:6:  [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).
	f = fopen (name, "r") ;
data/libace-perl-1.92/acelib/arraysub.c:245: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 (new,a->base,a->size*a->max) ;
data/libace-perl-1.92/acelib/arraysub.c:304: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(b->base, a->base, a->max * a->size);
data/libace-perl-1.92/acelib/arraysub.c:325: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(b->base, a->base + x1, b->max * b->size);
data/libace-perl-1.92/acelib/arraysub.c:581: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(s->a->base, a->base, n) ;
data/libace-perl-1.92/acelib/arraysub.c:707: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(s->ptr,data,size);
data/libace-perl-1.92/acelib/filsubs.c:246: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 dirbuf[MAXPATHLEN] ;
data/libace-perl-1.92/acelib/filsubs.c:262:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char drive[3] = { GET_CURRENT_DRIVE, DRIVE_DELIMITER, '\0' } ;
data/libace-perl-1.92/acelib/filsubs.c:344: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 *cp, buf2[2] ;
data/libace-perl-1.92/acelib/filsubs.c:345: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 driveStr[3] = { 'C', DRIVE_DELIMITER, '\0' },
data/libace-perl-1.92/acelib/filsubs.c:473: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).
  else if (!(result = fopen (s, spec)))
data/libace-perl-1.92/acelib/filsubs.c:566:14:  [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).
      (fil = fopen (stackText(s,i), "r")))
data/libace-perl-1.92/acelib/filsubs.c:573:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  if ((fil = fopen (stackText(s,i), spec)))
data/libace-perl-1.92/acelib/filsubs.c:581: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).
  else if (!(fil = fopen (stackText(s,i), spec))) 
data/libace-perl-1.92/acelib/filsubs.c:655: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	*dName, *dName_copy, entryPathName[MAXPATHLEN], *leaf ;
data/libace-perl-1.92/acelib/filsubs.c:739: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 time_modified_str[25];
data/libace-perl-1.92/acelib/filsubs.c:800: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 newFilName[MAXPATHLEN] ;
data/libace-perl-1.92/acelib/filsubs.c:801: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 cwdpath[MAXPATHLEN], *cwd ;
data/libace-perl-1.92/acelib/freesubs.c:48:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char special[24] ;
data/libace-perl-1.92/acelib/freesubs.c:106: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 (card, oldCard, maxcard/2) ;
data/libace-perl-1.92/acelib/freesubs.c:116: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 special[256] ;
data/libace-perl-1.92/acelib/freesubs.c:211:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	      for (cp = (unsigned char *) stackText (parStack, 
data/libace-perl-1.92/acelib/helpsubs.c:38: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 helpDir[MAXPATHLEN] = "" ;
data/libace-perl-1.92/acelib/helpsubs.c:156: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 filename_array[MAXPATHLEN] = "";
data/libace-perl-1.92/acelib/helpsubs.c:344: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 link_path_array[MAXPATHLEN] = "";
data/libace-perl-1.92/acelib/helpsubs.c:570: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 (cp,
data/libace-perl-1.92/acelib/helpsubs.c:583: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 (cp, "</UL>\n") ;
data/libace-perl-1.92/acelib/messubs.c:112: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 messbuf[BUFSIZE] ;
data/libace-perl-1.92/acelib/messubs.c:311: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 dumpbuf[BUFSIZE] ;		  /* BEWARE limited buffer size. */
data/libace-perl-1.92/acelib/messubs.c:413: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 prefix[1024] ;
data/libace-perl-1.92/acelib/messubs.c:496: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 buffer[BUFSIZE] ;
data/libace-perl-1.92/acelib/messubs.c:528: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 errmess[ERRBUFSIZE] ;
data/libace-perl-1.92/acelib/texthelp.c:57: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 buf[10000] ;	/* text-buffer for wordwrapping */
data/libace-perl-1.92/acelib/timesubs.c:318: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 ace_time[25] ;
data/libace-perl-1.92/acelib/timesubs.c:350: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 ace_time[25] ;
data/libace-perl-1.92/acelib/timesubs.c:661: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 buf[25] ;
data/libace-perl-1.92/acelib/wh/mystdlib.h:368:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
FILE    * fopen    (const char *path, const char *mode);
data/libace-perl-1.92/acelib/wh/mystdlib.h:391:24:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define memmove(d,s,l) bcopy(s,d,l)
data/libace-perl-1.92/acelib/wh/mystdlib.h:392:7:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
void  bcopy(char *b1, char *b2, int length);
data/libace-perl-1.92/acelib/aceclientlib.c:521: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).
      i = *loop ? strlen(loop): 0 ;
data/libace-perl-1.92/acelib/aceclientlib.c:527: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).
	  i += strlen(loop);
data/libace-perl-1.92/acelib/aceclientlib.c:528: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).
	  loop +=  strlen(loop);
data/libace-perl-1.92/acelib/arraysub.c:665: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).
  while (s->ptr + strlen(text)  > s->safe) 
data/libace-perl-1.92/acelib/arraysub.c:666: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).
    stackExtend (s,strlen(text)+1) ;
data/libace-perl-1.92/acelib/arraysub.c:684: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).
  while (s->ptr + strlen(text) > s->safe)
data/libace-perl-1.92/acelib/arraysub.c:685: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).
    stackExtend (s,strlen(text)+1) ;
data/libace-perl-1.92/acelib/arraysub.c:740: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).
  n = strlen(delimiters) ;
data/libace-perl-1.92/acelib/arraysub.c:795: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 (text) ;
data/libace-perl-1.92/acelib/bump.c:270: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).
  n = strlen(text) ;
data/libace-perl-1.92/acelib/call.c:147:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  peek = fgetc (pipe) ;		/* first char from popen on DEC
data/libace-perl-1.92/acelib/filsubs.c:167: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).
      if (strcmp((path + strlen(path) - 1), path_delim) != 0) /* Last char = "/" ?? */
data/libace-perl-1.92/acelib/filsubs.c:212: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(path) == 0)
data/libace-perl-1.92/acelib/filsubs.c:216: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).
  path_copy = messalloc ((strlen(path)+1) * sizeof(char));
data/libace-perl-1.92/acelib/filsubs.c:219: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).
  cp = path_copy + (strlen(path_copy) - 1);
data/libace-perl-1.92/acelib/filsubs.c:253: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).
      path_copy = (char*) messalloc (strlen(dir) + 1) ;
data/libace-perl-1.92/acelib/filsubs.c:267: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).
      path_copy = (char*) messalloc (strlen(dir) + strlen(drive) + 1) ;
data/libace-perl-1.92/acelib/filsubs.c:267:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      path_copy = (char*) messalloc (strlen(dir) + strlen(drive) + 1) ;
data/libace-perl-1.92/acelib/filsubs.c:281: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).
      path_copy = (char*) messalloc (strlen(pwd) + strlen(dir) + 2) ;
data/libace-perl-1.92/acelib/filsubs.c:281:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      path_copy = (char*) messalloc (strlen(pwd) + strlen(dir) + 2) ;
data/libace-perl-1.92/acelib/filsubs.c:318: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).
      cp = name + strlen (name) ;
data/libace-perl-1.92/acelib/filsubs.c:663: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).
    endLen = strlen (ending) ;
data/libace-perl-1.92/acelib/filsubs.c:668: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 (entryPathName, "/") ;
data/libace-perl-1.92/acelib/filsubs.c:669: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).
  leaf = entryPathName + strlen(dirName) + 1 ;
data/libace-perl-1.92/acelib/filsubs.c:674: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).
      dLen = strlen (dName) ;
data/libace-perl-1.92/acelib/filsubs.c:689: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).
      dName_copy = messalloc(strlen(dName)+1) ;
data/libace-perl-1.92/acelib/filsubs.c:813: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(path) >= 2  && 
data/libace-perl-1.92/acelib/filsubs.c:826: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).
	      if( strlen(cwd)+strlen(path)-1 > MAXPATHLEN )
data/libace-perl-1.92/acelib/filsubs.c:826: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).
	      if( strlen(cwd)+strlen(path)-1 > MAXPATHLEN )
data/libace-perl-1.92/acelib/filsubs.c:845: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).
	  if( strlen(cwd)+strlen(path)-1 > MAXPATHLEN ) /* Append relative path to cwd */
data/libace-perl-1.92/acelib/filsubs.c:845:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  if( strlen(cwd)+strlen(path)-1 > MAXPATHLEN ) /* Append relative path to cwd */
data/libace-perl-1.92/acelib/freeout.c:127: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).
  ln = strlen(text) ;
data/libace-perl-1.92/acelib/freeout.c:210: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(stackText (outBuf,0)) >= BUFSIZE)
data/libace-perl-1.92/acelib/freesubs.c:65:34:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define _FREECHAR     (currfil ? getc (currfil) : *currtext++)
data/libace-perl-1.92/acelib/freesubs.c:122: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(text) > 23)
data/libace-perl-1.92/acelib/freesubs.c:312:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  chint = getc(fil) ;
data/libace-perl-1.92/acelib/freesubs.c:323:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  if ((ch = getc (fil)) == '/')
data/libace-perl-1.92/acelib/freesubs.c:324:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    { while (getc(fil) != '\n' && !feof(fil)) ;
data/libace-perl-1.92/acelib/freesubs.c:335:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  *in = getc(fil) ;
data/libace-perl-1.92/acelib/freesubs.c:338:30:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      while (isspace (*in = getc(fil))) ;    /* remove whitespace */
data/libace-perl-1.92/acelib/freesubs.c:761:16:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      answer = getchar () ;
data/libace-perl-1.92/acelib/freesubs.c:766:18:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        answer = getchar () ;
data/libace-perl-1.92/acelib/freesubs.c:934: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).
  cq = cp + strlen(cp) - 1 ;
data/libace-perl-1.92/acelib/freesubs.c:972: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).
      array (a, base+3*(1+strlen(text)), char) = 0 ; /* ensure long enough */
data/libace-perl-1.92/acelib/freesubs.c:974: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).
      base += 1 + strlen(text) ;
data/libace-perl-1.92/acelib/freesubs.c:979: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).
      array (a, 2*(1+strlen(text)), char) = 0 ; /* ensure long enough */
data/libace-perl-1.92/acelib/freesubs.c:1006: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).
      array (a, base+3*(1+strlen(text)), char) = 0 ; /* ensure long enough */
data/libace-perl-1.92/acelib/freesubs.c:1008: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).
      base += 1 + strlen(text) ;
data/libace-perl-1.92/acelib/freesubs.c:1013: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).
      array (a, 2*(1+strlen(text)), char) = 0 ; /* ensure long enough */
data/libace-perl-1.92/acelib/helpsubs.c:164: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(subject) == 0) 
data/libace-perl-1.92/acelib/helpsubs.c:178: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 (filename, "?");
data/libace-perl-1.92/acelib/helpsubs.c:184: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 (filename, "");	/* intialise, if this is
data/libace-perl-1.92/acelib/helpsubs.c:209:4:  [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 (filename, "");
data/libace-perl-1.92/acelib/helpsubs.c:223:5:  [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 (filename, "");
data/libace-perl-1.92/acelib/helpsubs.c:227: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).
	  if (strlen(filename) > 0)
data/libace-perl-1.92/acelib/helpsubs.c:238: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).
			       strlen(subject_copy)) == 0)
data/libace-perl-1.92/acelib/helpsubs.c:250:8:  [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 (filename, ""); /* not found */
data/libace-perl-1.92/acelib/helpsubs.c:289: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).
	  j = strlen (subject_copy);
data/libace-perl-1.92/acelib/helpsubs.c:298:4:  [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 (filename, "");
data/libace-perl-1.92/acelib/helpsubs.c:318: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 (filename, "?");
data/libace-perl-1.92/acelib/helpsubs.c:401: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 (strcasecmp (helpFilename + (strlen(helpFilename)-4), ".gif") == 0)
data/libace-perl-1.92/acelib/helpsubs.c:482:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  for (i = 0; i < strlen(cp); ++i)
data/libace-perl-1.92/acelib/helpsubs.c:491:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (cp[strlen(cp)-1] == ' ')
data/libace-perl-1.92/acelib/helpsubs.c:492: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).
    cp[strlen(cp)-1] = '\0' ;
data/libace-perl-1.92/acelib/helpsubs.c:520: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 = 7+6+strlen(filGetFilename(link))+8+10+strlen(link)+2;
data/libace-perl-1.92/acelib/helpsubs.c:520:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = 7+6+strlen(filGetFilename(link))+8+10+strlen(link)+2;
data/libace-perl-1.92/acelib/helpsubs.c:562: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).
      len += strlen(s)*2 + strlen(HELP_FILE_EXTENSION) + 19;
data/libace-perl-1.92/acelib/helpsubs.c:562: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).
      len += strlen(s)*2 + strlen(HELP_FILE_EXTENSION) + 19;
data/libace-perl-1.92/acelib/helpsubs.c:581: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).
      cp += strlen(s)*2 + strlen(HELP_FILE_EXTENSION) + 19;
data/libace-perl-1.92/acelib/helpsubs.c:581: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).
      cp += strlen(s)*2 + strlen(HELP_FILE_EXTENSION) + 19;
data/libace-perl-1.92/acelib/helpsubs.c:835:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (node->text, start, len) ;
data/libace-perl-1.92/acelib/helpsubs.c:876:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (node->text, start, len) ;
data/libace-perl-1.92/acelib/helpsubs.c:1103:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (node->text, start, len);
data/libace-perl-1.92/acelib/helpsubs.c:1116:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (node->text, start, len) ;
data/libace-perl-1.92/acelib/helpsubs.c:1193:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (node->link, hstart, hlen) ;
data/libace-perl-1.92/acelib/helpsubs.c:1294:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (node->link, start, srclen) ;
data/libace-perl-1.92/acelib/memsubs.c:163: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).
    { result = (char *)halloc_dbg(1+strlen(old), handle, hfname, hlineno) ;
data/libace-perl-1.92/acelib/memsubs.c:168: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).
    { result = (char *)halloc(1+strlen(old), handle);
data/libace-perl-1.92/acelib/messubs.c:318: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 (mesg_buf, "\n") ;			  /* assume we are writing to a file */
data/libace-perl-1.92/acelib/messubs.c:578: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).
      prefix_len = strlen(prefix) ;
data/libace-perl-1.92/acelib/messubs.c:647: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).
    else if (strlen(return_str) > buf_len)
data/libace-perl-1.92/acelib/messubs.c:652: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).
		 buf_len, strlen(return_str)) ;  
data/libace-perl-1.92/acelib/texthelp.c:106: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).
      if (!cp || !*cp || !strlen(cp))
data/libace-perl-1.92/acelib/texthelp.c:111: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(filGetFilename(helpFilename))) != 0)
data/libace-perl-1.92/acelib/texthelp.c:115: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).
      n = strlen(cp) ;
data/libace-perl-1.92/acelib/texthelp.c:230: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).
      for (i = 0; i < strlen(node->text)+4; ++i)
data/libace-perl-1.92/acelib/texthelp.c:233: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).
      for (i = 0; i < strlen(node->text)+4; ++i)
data/libace-perl-1.92/acelib/texthelp.c:318: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).
	      indent += strlen(messprintf ("%d. ", itemNumber)) ;
data/libace-perl-1.92/acelib/texthelp.c:346: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).
	  indent -= strlen(messprintf ("%d. ", itemNumber)) ;
data/libace-perl-1.92/acelib/texthelp.c:404:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	  strncpy (buf, start, len) ;
data/libace-perl-1.92/acelib/texthelp.c:408: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).
	  if (strlen(buf) > WINX)
data/libace-perl-1.92/acelib/texthelp.c:429: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).
	      xPos += strlen(buf) ; /* place xPos at the end of word */
data/libace-perl-1.92/acelib/texthelp.c:460:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		      for (ii = strlen(buf)-1; ii >= i ; --ii)
data/libace-perl-1.92/acelib/texthelp.c:474: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 (buf[strlen(buf)-1] == '\n')
data/libace-perl-1.92/acelib/texthelp.c:476: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).
		  buf[strlen(buf)-1] = 0 ;
data/libace-perl-1.92/acelib/texthelp.c:478: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).
		  xPos += strlen(buf) ;
data/libace-perl-1.92/acelib/texthelp.c:484: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).
		  xPos += strlen(buf) ;
data/libace-perl-1.92/acelib/timesubs.c:671: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 (buf, "-") ;
data/libace-perl-1.92/acelib/wh/mystdlib.h:357:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int       fgetc    (FILE *stream);

ANALYSIS SUMMARY:

Hits = 227
Lines analyzed = 11756 in approximately 0.45 seconds (26266 lines/second)
Physical Source Lines of Code (SLOC) = 7420
Hits@level = [0]  77 [1]  99 [2]  41 [3]  13 [4]  74 [5]   0
Hits@level+ = [0+] 304 [1+] 227 [2+] 128 [3+]  87 [4+]  74 [5+]   0
Hits/KSLOC@level+ = [0+] 40.9704 [1+] 30.593 [2+] 17.2507 [3+] 11.7251 [4+] 9.97305 [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.