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/libcompress-bzip2-perl-2.28/show_bzversion.c
Examining data/libcompress-bzip2-perl-2.28/ppport.h
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/randtable.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/huffman.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/tst-unzcrash.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/crctable.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/win-tst-dlltest.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/tst-spewG.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/decompress.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/blocksort.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/compress.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.h
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c
Examining data/libcompress-bzip2-perl-2.28/bzlib-src/tst-mk251.c

FINAL RESULTS:

data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1126: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 ( name, newSuffix );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1628:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf (
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1734: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 ( tmp->name, name );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:312:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy ( progName, argv[0] );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:349:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
   strcpy ( inFileName, argv[1] );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:471:10:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
         strcpy (outFileName, inFileName);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:482:10:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
         strcat (outFileName, inFileName + ofs);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c:1417: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(mode2, writing ? "w" : "r" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:65:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf ( stderr,   \
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:74:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf(stderr,zf)
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:76:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf(stderr,zf,za1)
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:78:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf(stderr,zf,za1,za2)
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:80:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf(stderr,zf,za1,za2,za3)
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:82:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf(stderr,zf,za1,za2,za3,za4)
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib_private.h:84:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
   fprintf(stderr,zf,za1,za2,za3,za4,za5)
data/libcompress-bzip2-perl-2.28/ppport.h:6890:14:  [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.
    retval = vsnprintf(buffer, len, format, ap);
data/libcompress-bzip2-perl-2.28/ppport.h:6892:14:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    retval = vsprintf(buffer, format, ap);
data/libcompress-bzip2-perl-2.28/ppport.h:6921:5:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
    vsprintf(buffer, pat, args);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1752:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
   envbase = getenv(varName);
data/libcompress-bzip2-perl-2.28/bzlib-src/tst-spewG.c:41:4:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
   srandom(1);
data/libcompress-bzip2-perl-2.28/bzlib-src/tst-spewG.c:44:14:  [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.
      p = 25+random()%50;
data/libcompress-bzip2-perl-2.28/bzlib-src/win-tst-dlltest.c:31:9:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
   hLib=LoadLibrary(BZ2_LIBNAME);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:942: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).
   FILE *tmp   = fopen ( name, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:965:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   fh = open(name, O_WRONLY|O_CREAT|O_EXCL, S_IWUSR|S_IRUSR);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:971: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).
   return fopen(name, mode);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1153:10:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         strcat ( outName, ".bz2" ); 
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1242: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).
         inStr = fopen ( inName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1263: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).
         inStr = fopen ( inName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1341:10:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         strcat ( outName, ".out" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1428: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).
         inStr = fopen ( inName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1440: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).
         inStr = fopen ( inName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1570: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).
         inStr = fopen ( inName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:351:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   inFile = fopen ( inFileName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:425:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   inFile = fopen ( inFileName, "rb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:480:10:  [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 (split, "rec%5d", wrBlock+1);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:484:40:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
         if ( !endsInBz2(outFileName)) strcat ( outFileName, ".bz2" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:489: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).
         outFile = fopen ( outFileName, "wb" );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c:1390:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char   unused[BZ_MAX_UNUSED];
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c:1393:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char   mode2[10]     = "";
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c:1425: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).
        fp = fopen(path,mode2);
data/libcompress-bzip2-perl-2.28/bzlib-src/tst-spewG.c:36: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 buf[N_BUF];
data/libcompress-bzip2-perl-2.28/bzlib-src/tst-unzcrash.c:86:8:  [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 ( argv[1], "r" );
data/libcompress-bzip2-perl-2.28/bzlib-src/win-tst-dlltest.c:116: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 buff[0x1000];
data/libcompress-bzip2-perl-2.28/bzlib-src/win-tst-dlltest.c:117: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 mode[10];
data/libcompress-bzip2-perl-2.28/bzlib-src/win-tst-dlltest.c:124:24:  [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((fp_w = fopen(fn_w,"wb"))==NULL){
data/libcompress-bzip2-perl-2.28/bzlib-src/win-tst-dlltest.c:147:24:  [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((fp_r = fopen(fn_r,"rb"))==NULL){
data/libcompress-bzip2-perl-2.28/ppport.h:3842:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define CopyD(s,d,n,t)                 memcpy((char*)(d),(char*)(s), (n) * sizeof(t))
data/libcompress-bzip2-perl-2.28/ppport.h:6745:24:  [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.
		&& (xdigit = strchr((char *) PL_hexdigit, s[1])))
data/libcompress-bzip2-perl-2.28/ppport.h:6967:9:  [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(dst + used, src, copy);
data/libcompress-bzip2-perl-2.28/ppport.h:6996:9:  [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(dst, src, copy);
data/libcompress-bzip2-perl-2.28/ppport.h:7088: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 octbuf[32] = "%123456789ABCDF";
data/libcompress-bzip2-perl-2.28/ppport.h:7158:6:  [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 tmp[2];
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:320:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   Int32 c = fgetc ( f );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:911: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 ( (Int32)strlen(s) >= longestFileName ) return;
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:912:46:  [1] (buffer) strlen:
  Does not handle 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 = 1; i <= longestFileName - (Int32)strlen(s); i++)
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:921: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).
   if ( strlen(from) > FILE_NAME_LEN-10 )  {
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:933:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(to,from,FILE_NAME_LEN-10);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1112: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).
   Int32 ns = strlen(s);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1113: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).
   Int32 nx = strlen(suffix);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1125: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).
   name[strlen(name)-strlen(oldSuffix)] = 0;
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1125: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).
   name[strlen(name)-strlen(oldSuffix)] = 0;
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1733:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      tmp->name = (Char*) myMalloc ( 5 + strlen(name) );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1842:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (longestFileName < (Int32)strlen(aa->name) )
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2.c:1843: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).
         longestFileName = (Int32)strlen(aa->name);
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:205:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Int32 retVal = getc ( bs->handle );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:263: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).
   Int32 n = strlen ( name );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:342: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(argv[1]) >= BZ_MAX_FILENAME-20) {
data/libcompress-bzip2-perl-2.28/bzlib-src/bzip2recover.c:345: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).
                progName, (int)strlen(argv[1]) );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c:908:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   Int32 c = fgetc ( f );
data/libcompress-bzip2-perl-2.28/bzlib-src/bzlib.c:1418:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
   strcat(mode2,"b");   /* binary mode */
data/libcompress-bzip2-perl-2.28/ppport.h:5335: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).
  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
data/libcompress-bzip2-perl-2.28/ppport.h:5343:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define sv_vcatpvf(sv, pat, args)  sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/libcompress-bzip2-perl-2.28/ppport.h:5347:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define sv_vsetpvf(sv, pat, args)  sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*))
data/libcompress-bzip2-perl-2.28/ppport.h:5367: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libcompress-bzip2-perl-2.28/ppport.h:5395: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).
  sv_vcatpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libcompress-bzip2-perl-2.28/ppport.h:5416: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).
     sv_vcatpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/libcompress-bzip2-perl-2.28/ppport.h:5438: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libcompress-bzip2-perl-2.28/ppport.h:5466: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).
  sv_vsetpvfn(sv, pat, strlen(pat), &args, Null(SV**), 0, Null(bool*));
data/libcompress-bzip2-perl-2.28/ppport.h:5487: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).
     sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));  \
data/libcompress-bzip2-perl-2.28/ppport.h:5541:65:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define HvNAMELEN_get(hv)              (HvNAME_get(hv) ? (I32)strlen(HvNAME_get(hv)) : 0)
data/libcompress-bzip2-perl-2.28/ppport.h:6339: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 len = strlen(radix);
data/libcompress-bzip2-perl-2.28/ppport.h:6923: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).
    return strlen(buffer);
data/libcompress-bzip2-perl-2.28/ppport.h:6963: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).
    used = strlen(dst);
data/libcompress-bzip2-perl-2.28/ppport.h:6964: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(src);
data/libcompress-bzip2-perl-2.28/ppport.h:6993: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(src);

ANALYSIS SUMMARY:

Hits = 85
Lines analyzed = 15389 in approximately 0.55 seconds (27779 lines/second)
Physical Source Lines of Code (SLOC) = 8942
Hits@level = [0] 133 [1]  33 [2]  30 [3]   4 [4]  18 [5]   0
Hits@level+ = [0+] 218 [1+]  85 [2+]  52 [3+]  22 [4+]  18 [5+]   0
Hits/KSLOC@level+ = [0+] 24.3793 [1+] 9.5057 [2+] 5.81525 [3+] 2.4603 [4+] 2.01297 [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.