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/cloop-3.14.1.3/advancecomp-1.15/7z/7z.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/7zdeflate.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/7zlzma.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/AriBitCoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/AriBitCoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/AriConst.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/AriPrice.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree2.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree2Main.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree3.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree3Main.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree3Z.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree3ZMain.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree4.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree4Main.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree4b.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTree4bMain.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTreeMF.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTreeMFMain.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BinTreeMain.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/BitTreeCoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/CRC.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/CRC.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/Const.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/DeflateDecoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/DeflateDecoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/DeflateEncoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/DeflateEncoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/HuffmanDecoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/HuffmanEncoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/HuffmanEncoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/IInOutStreams.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/IInOutStreams.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/InByte.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/InByte.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LSBFDecoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LSBFDecoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LSBFEncoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LSBFEncoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LZMA.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LZMA.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LZMADecoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LZMADecoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LZMAEncoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LZMAEncoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LenCoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LenCoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LiteralCoder.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/LiteralCoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/OutByte.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/OutByte.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/Portable.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/RCDefs.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/RangeCoder.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/WindowIn.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/WindowIn.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/WindowOut.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/7z/WindowOut.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/compress.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/compress.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/data.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/data.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/except.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/file.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/file.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/getopt.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/endianrw.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/error.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/extra.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/png.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/snstring.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/lib/snstring.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/mngex.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/pngex.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/pngex.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/portable.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/redef.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/remng.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/repng.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/scroll.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/scroll.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/siglock.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/siglock.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c
Examining data/cloop-3.14.1.3/advancecomp-1.15/zip.cc
Examining data/cloop-3.14.1.3/advancecomp-1.15/zip.h
Examining data/cloop-3.14.1.3/advancecomp-1.15/zipsh.cc
Examining data/cloop-3.14.1.3/advfs.cc
Examining data/cloop-3.14.1.3/cloop.c
Examining data/cloop-3.14.1.3/cloop.h
Examining data/cloop-3.14.1.3/cloop_suspend.c
Examining data/cloop-3.14.1.3/create_compressed_fs.c
Examining data/cloop-3.14.1.3/extract_compressed_fs.c

FINAL RESULTS:

data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:129:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(p, size, text, arg);
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:156:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(error_desc_buffer, sizeof(error_desc_buffer), text, arg);
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:206:2:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	vsnprintf(p, size, text, arg);
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.h:54:62:  [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.
void error_set(const char* error, ...) __attribute__((format(printf, 1, 2)));
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.h:55:74:  [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.
void error_unsupported_set(const char* error, ...) __attribute__((format(printf, 1, 2)));
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.h:56:68:  [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.
void error_nolog_set(const char* error, ...) __attribute__((format(printf, 1, 2)));
data/cloop-3.14.1.3/advancecomp-1.15/lib/snstring.c:121:3:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		vsnprintf(str + l, count - l, fmt, arg);
data/cloop-3.14.1.3/advancecomp-1.15/lib/snstring.h:52:82:  [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.
void sncatf(char* str, size_t count, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
data/cloop-3.14.1.3/advancecomp-1.15/portable.h:133:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int snprintf(char *str, size_t count, const char *fmt, ...);
data/cloop-3.14.1.3/advancecomp-1.15/portable.h:144:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int vsnprintf(char *str, size_t count, const char *fmt, va_list arg);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:100:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int snprintf (char *str, size_t count, const char *fmt, ...);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:101:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:736:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int vsnprintf (char *str, size_t count, const char *fmt, va_list args)
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:747:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int snprintf (char *str, size_t count, const char *fmt, ...)
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:749:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
int snprintf (va_alist) va_dcl
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:763:10:  [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.
  (void) vsnprintf(str, count, fmt, ap);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:817:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf (buf1, sizeof (buf1), fp_fmt[x], fp_nums[y]);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:818:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf2, fp_fmt[x], fp_nums[y]);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:831:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf (buf1, sizeof (buf1), int_fmt[x], int_nums[y]);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:832:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf (buf2, int_fmt[x], int_nums[y]);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1142:7:  [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(path.c_str(), F_OK) == 0) {
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1159:7:  [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(path.c_str(), F_OK) == 0) {
data/cloop-3.14.1.3/cloop.c:1163:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
 sprintf(clo->clo_disk->disk_name, "%s%d", cloop_name, cloop_num);
data/cloop-3.14.1.3/advancecomp-1.15/getopt.c:41:5:  [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.
int getopt(int nargc, char *const nargv[], const char *ostr)
data/cloop-3.14.1.3/advancecomp-1.15/portable.h:92:5:  [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.
int getopt(int argc, char * const *argv, const char *options);
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:680:3:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt_long(argc, argv, OPTIONS, long_options, 0))
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:682:3:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt(argc, argv, OPTIONS))
data/cloop-3.14.1.3/advancecomp-1.15/remng.cc:1116:3:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt_long(argc, argv, OPTIONS, long_options, 0))
data/cloop-3.14.1.3/advancecomp-1.15/remng.cc:1118:3:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt(argc, argv, OPTIONS))
data/cloop-3.14.1.3/advancecomp-1.15/repng.cc:409:3:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt_long(argc, argv, OPTIONS, long_options, 0))
data/cloop-3.14.1.3/advancecomp-1.15/repng.cc:411:3:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt(argc, argv, OPTIONS))
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:501:3:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt_long(argc, argv, OPTIONS, long_options, 0))
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:503:3:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		getopt(argc, argv, OPTIONS))
data/cloop-3.14.1.3/advfs.cc:710:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        c = getopt_long (argc, argv, OPTIONS,
data/cloop-3.14.1.3/advfs.cc:713:7:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
		c = getopt(argc, argv, OPTIONS);
data/cloop-3.14.1.3/advancecomp-1.15/7z/DeflateEncoder.cc:561: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(m_LastLevels, aNewLevels, kMaxTableSize);
data/cloop-3.14.1.3/advancecomp-1.15/7z/DeflateEncoder.cc:624: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(m_LastLevels, aNewLevels, kMaxTableSize);
data/cloop-3.14.1.3/advancecomp-1.15/7z/IInOutStreams.cc:8:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(aData, data, aSize);
data/cloop-3.14.1.3/advancecomp-1.15/7z/IInOutStreams.cc:20:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(data, aData, aSize);
data/cloop-3.14.1.3/advancecomp-1.15/data.cc:39: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(data, Adata, Asize);
data/cloop-3.14.1.3/advancecomp-1.15/file.cc:119:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* f = fopen(path.c_str(), "wb");
data/cloop-3.14.1.3/advancecomp-1.15/file.cc:147:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* f = fopen(path.c_str(), "rb");
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:53: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 error_desc_buffer[ERROR_DESC_MAX];
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:68: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 error_cat_prefix_buffer[ERROR_DESC_MAX];
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:48: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, mode);
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:145: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(buffer, f->data_read + f->virtual_pos, total_size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:149: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(buffer, f->data_write + f->virtual_pos, total_size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:205: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(f->data_write + f->virtual_pos, buffer, total_size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:317:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ZIP_LO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:404:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ZIP_LO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:678:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				unsigned char buffer[256];
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:696:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char p[1];
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:707:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char p[2];
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:718:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char p[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:39:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char signature[8];
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:149: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(mng->pal_ptr, data, size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:278: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(p0, p1, bytes_per_run);
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:377: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(mng->pal_ptr, data, size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:411: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(mng->pal_ptr + v0 * 3, data + i, delta_size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:484: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(*pal_ptr, mng->pal_ptr, mng->pal_size);
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.c:585: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 buf[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/mng.h:70:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char pal_ptr[256*3]; /**< Palette data. */
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:51:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char cl[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:52:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ct[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:53:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char cc[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:106:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char v[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:149:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char signature[8];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:542:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:564: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 buf[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:699: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 buf[4];
data/cloop-3.14.1.3/advancecomp-1.15/lib/png.c:867: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 buf[4];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:35:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char col_ptr[256*3];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:70:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ovr_ptr, mng->pal_ptr, 256*3);
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:150:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char mhdr[28];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:298: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(mng->pal_ptr, pal_ptr, pal_size);
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:305: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(&mng->current_ptr[i * mng->line], &img_ptr[i * img_scanline], mng->width * mng->pixel);
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:311:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char defi[12];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:313:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ihdr[13];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:368:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char move[13];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:395:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char dhdr[20];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:494:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ihdr[13];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:628:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char ovr_ptr[256*3];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.cc:655:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char fram[10];
data/cloop-3.14.1.3/advancecomp-1.15/mngex.h:52:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char pal_ptr[256*3]; /**< Palette. */
data/cloop-3.14.1.3/advancecomp-1.15/pngex.cc:55: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(p0, p1, dx * img_pixel);
data/cloop-3.14.1.3/advancecomp-1.15/pngex.cc:156:2:  [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 tag[5];
data/cloop-3.14.1.3/advancecomp-1.15/pngex.cc:315:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char ihdr[13];
data/cloop-3.14.1.3/advancecomp-1.15/pngex.cc:409: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(p1, p0, *dst_scanline);
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:129:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char block[BLOCK_SIZE];
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:192: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(res_data + pos, i->data, run);
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:294: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(res_data + pos, i->data, run);
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:382:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char header[10];
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:399:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char extra_len[2];
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:451:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char footer[8];
data/cloop-3.14.1.3/advancecomp-1.15/redef.cc:477:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char header[8];
data/cloop-3.14.1.3/advancecomp-1.15/remng.cc:246:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char col_ptr[256*3];
data/cloop-3.14.1.3/advancecomp-1.15/repng.cc:42:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char col_ptr[256*3];
data/cloop-3.14.1.3/advancecomp-1.15/repng.cc:90:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pal_ptr, col_ptr, col_count * 3);
data/cloop-3.14.1.3/advancecomp-1.15/repng.cc:103:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char new_pal_ptr[256*3];
data/cloop-3.14.1.3/advancecomp-1.15/repng.cc:105:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char new_rns_ptr[256];
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:46:5:  [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).
		z.open();
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:118:5:  [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).
		z.open();
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:273:5:  [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).
		z.open();
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:297:4:  [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).
	z.open();
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:316: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).
				FILE* f = fopen(file.c_str(), "wb");
data/cloop-3.14.1.3/advancecomp-1.15/rezip.cc:377: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).
			FILE* f = fopen(file.c_str(), "rb");
data/cloop-3.14.1.3/advancecomp-1.15/scroll.cc:41:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char data[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 };
data/cloop-3.14.1.3/advancecomp-1.15/scroll.cc:254: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(ptr + i*scanline, pix_ptr + i*pix_scanline, scanline);
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:444: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 convert[20];
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:569: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 iconvert[20];
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:570: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 fconvert[20];
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:775: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 buf1[LONG_STRING];
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:776: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 buf2[LONG_STRING];
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:117: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(data, buf + (start_of_cent_dir - buf_pos), size);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:286:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ZIP_LO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:306: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(outdata, data, compressed_size_get());
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:308: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).
		FILE* f = fopen(parentname_get().c_str(), "rb");
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:450:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(file_name, Aname.c_str(), info.filename_length);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:620:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char data_desc[ZIP_DO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:649:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ZIP_LO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:722:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(file_name, buf, info.filename_length);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:744:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char buf[ZIP_CO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:810:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	assert(!flag.open);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:822:11:  [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).
void zip::open()
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:824:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	assert(!flag.open);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:839:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* f = fopen(path.c_str(), "rb");
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:932:14:  [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).
	assert(flag.open && flag.read && !flag.modify);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:946:14:  [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).
	assert(flag.open);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:949:2:  [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).
	open();
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:957:14:  [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).
	assert(flag.open && !flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:961:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* f = fopen(path.c_str(), "rb");
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:970:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char buf[ZIP_LO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1080:14:  [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).
	assert(flag.open && flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1091: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).
		FILE* f = fopen(save_path.c_str(), "wb");
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1116:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			unsigned char buf[ZIP_EO_FIXED];
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:243:8:  [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).
		bool open; // zip is opened
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:276:45:  [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).
	const_iterator begin() const { assert(flag.open); return map.begin(); }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:277:43:  [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).
	const_iterator end() const { assert(flag.open); return map.end(); }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:278:33:  [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).
	iterator begin() { assert(flag.open); return map.begin(); }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:279:31:  [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).
	iterator end() { assert(flag.open); return map.end(); }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:281:38:  [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).
	unsigned size() const { assert(flag.open); return map.size(); }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:287:7:  [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).
	void open();
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:295:37:  [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).
	bool is_open() const { return flag.open; }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:296:37:  [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).
	bool is_load() const { assert(flag.open); return flag.read; }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:297:39:  [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).
	bool is_modify() const { assert(flag.open && flag.read); return flag.modify; }
data/cloop-3.14.1.3/advancecomp-1.15/zipsh.cc:53: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(uncompressed_data, data, uncompressed_size_get());
data/cloop-3.14.1.3/advfs.cc:451:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char *t=(char *) malloc(pool[pos].compLen);
data/cloop-3.14.1.3/advfs.cc:456:13:  [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(t, pool[pos].outBuf, pool[pos].compLen);
data/cloop-3.14.1.3/advfs.cc:852: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).
        targetfh=fopen(tofile, "w+");
data/cloop-3.14.1.3/advfs.cc:870:12:  [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).
        in=open(fromfile, O_RDONLY | O_LARGEFILE);
data/cloop-3.14.1.3/advfs.cc:892:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        tempfh=fopen(tempfile, "w+");
data/cloop-3.14.1.3/advfs.cc:954: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).
        targetfh=fopen(sepheader, "w");
data/cloop-3.14.1.3/advfs.cc:965: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(head.preamble, CLOOP_PREAMBLE, sizeof(CLOOP_PREAMBLE));
data/cloop-3.14.1.3/advfs.cc:1173: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(&sa.sin_addr, &addr, sizeof(addr)) ; /* set address */
data/cloop-3.14.1.3/advfs.cc:1179: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(&sa.sin_addr, hp->h_addr, hp->h_length) ;
data/cloop-3.14.1.3/cloop.c:463: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(to_ptr + to_offset, from_ptr + offset_in_buffer, length_in_buffer);
data/cloop-3.14.1.3/cloop.c:583: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(&clo->head, bbuf, header_size);
data/cloop-3.14.1.3/cloop.c:760: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(clo->preload_cache[i], clo->buffer[buffered_blocknum],
data/cloop-3.14.1.3/cloop.c:938:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
 memcpy(info64->lo_file_name, info->lo_name, LO_NAME_SIZE);
data/cloop-3.14.1.3/cloop.c:953:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
 memcpy(info->lo_name, info64->lo_file_name, LO_NAME_SIZE);
data/cloop-3.14.1.3/cloop.c:1099: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).
        open:           cloop_open,
data/cloop-3.14.1.3/cloop.h:50:2:  [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 preamble[CLOOP_HEADROOM];
data/cloop-3.14.1.3/cloop_suspend.c:32:11:  [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).
	int fd = open(argv[1], O_RDONLY);
data/cloop-3.14.1.3/create_compressed_fs.c:57:2:  [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 data[0];
data/cloop-3.14.1.3/create_compressed_fs.c:118: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((*cbp)->data, compressed, len);
data/cloop-3.14.1.3/create_compressed_fs.c:153:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
 blocksize = atoi(argv[2]);
data/cloop-3.14.1.3/create_compressed_fs.c:173:47:  [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).
 in=strcmp(argv[1],"-")==0?dup(fileno(stdin)):open(argv[1], O_RDONLY);
data/cloop-3.14.1.3/create_compressed_fs.c:186:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
 memcpy(head.preamble, CLOOP_PREAMBLE, sizeof(CLOOP_PREAMBLE));
data/cloop-3.14.1.3/create_compressed_fs.c:228:11:  [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 padding[512];
data/cloop-3.14.1.3/extract_compressed_fs.c:64:12:  [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).
		handle = open(argv[1], O_RDONLY|O_LARGEFILE);
data/cloop-3.14.1.3/extract_compressed_fs.c:77:12:  [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).
		output = open(argv[2], O_CREAT|O_WRONLY|O_LARGEFILE,
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:89: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).
	while (error_desc_buffer[0] && isspace(error_desc_buffer[strlen(error_desc_buffer)-1]))
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:90: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).
		error_desc_buffer[strlen(error_desc_buffer)-1] = 0;
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:121: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).
		p = error_desc_buffer + strlen(error_desc_buffer);
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:122: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).
		size = sizeof(error_desc_buffer) - strlen(error_desc_buffer);
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:138: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).
	if (!text[0] || text[strlen(text)-1] != '\n')
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:198: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).
		p = error_desc_buffer + strlen(error_desc_buffer);
data/cloop-3.14.1.3/advancecomp-1.15/lib/error.c:199: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).
		size = sizeof(error_desc_buffer) - strlen(error_desc_buffer);
data/cloop-3.14.1.3/advancecomp-1.15/lib/fz.c:99:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return fgetc(f);
data/cloop-3.14.1.3/advancecomp-1.15/portable.h:60: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).
#define NAMLEN(dirent) strlen((dirent)->d_name)
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:740: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).
  return(strlen(str));
data/cloop-3.14.1.3/advancecomp-1.15/snprintf.c:765: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).
  return(strlen(str));
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:932:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.open && flag.read && !flag.modify);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:957:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.open && !flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1080:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.open && flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1171:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1184:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1198:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.cc:1235:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:244:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		bool read; // zip is loaded (valid only if flag_open==true)
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:296:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bool is_load() const { assert(flag.open); return flag.read; }
data/cloop-3.14.1.3/advancecomp-1.15/zip.h:297:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bool is_modify() const { assert(flag.open && flag.read); return flag.modify; }
data/cloop-3.14.1.3/advancecomp-1.15/zipsh.cc:475:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.read);
data/cloop-3.14.1.3/advancecomp-1.15/zipsh.cc:483:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	assert(flag.read);
data/cloop-3.14.1.3/advfs.cc:527:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ssize_t r=read(in, ptr, rest);
data/cloop-3.14.1.3/advfs.cc:666: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).
    char *mod = text + strlen(text)-1;
data/cloop-3.14.1.3/cloop.c:920:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
 strncpy(info->lo_file_name, clo->underlying_filename, LO_NAME_SIZE);
data/cloop-3.14.1.3/cloop.c:1223: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).
   int namelen = strlen(file);
data/cloop-3.14.1.3/create_compressed_fs.c:93:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
     ssize_t r=read(handle, uncompressed+total, blocksize-total);
data/cloop-3.14.1.3/extract_compressed_fs.c:90:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(handle, &head, sizeof(head)) != sizeof(head)) {
data/cloop-3.14.1.3/extract_compressed_fs.c:130:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(handle, offsets, offsets_size) != offsets_size) {
data/cloop-3.14.1.3/extract_compressed_fs.c:147:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if(read(handle, compressed_buffer, size) != size) {

ANALYSIS SUMMARY:

Hits = 202
Lines analyzed = 22597 in approximately 0.60 seconds (37475 lines/second)
Physical Source Lines of Code (SLOC) = 17169
Hits@level = [0]  64 [1]  31 [2] 136 [3]  12 [4]  23 [5]   0
Hits@level+ = [0+] 266 [1+] 202 [2+] 171 [3+]  35 [4+]  23 [5+]   0
Hits/KSLOC@level+ = [0+] 15.493 [1+] 11.7654 [2+] 9.95981 [3+] 2.03856 [4+] 1.33962 [5+]   0
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.