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/steghide-0.5.1/src/WavChunkUnused.cc
Examining data/steghide-0.5.1/src/CvrStgObject.h
Examining data/steghide-0.5.1/src/Arg.cc
Examining data/steghide-0.5.1/src/SampleValueAdjacencyList.h
Examining data/steghide-0.5.1/src/JpegFile.h
Examining data/steghide-0.5.1/src/SteghideError.h
Examining data/steghide-0.5.1/src/CvrStgFile.h
Examining data/steghide-0.5.1/src/WavChunkHeader.cc
Examining data/steghide-0.5.1/src/BitString.cc
Examining data/steghide-0.5.1/src/WavChunk.cc
Examining data/steghide-0.5.1/src/Edge.h
Examining data/steghide-0.5.1/src/SMDConstructionHeuristic.cc
Examining data/steghide-0.5.1/src/BinaryIO.h
Examining data/steghide-0.5.1/src/Utils.h
Examining data/steghide-0.5.1/src/WKSConstructionHeuristic.h
Examining data/steghide-0.5.1/src/Matching.h
Examining data/steghide-0.5.1/src/Selector.cc
Examining data/steghide-0.5.1/src/EncryptionMode.cc
Examining data/steghide-0.5.1/src/Arg.h
Examining data/steghide-0.5.1/src/SampleValueAdjacencyList.cc
Examining data/steghide-0.5.1/src/Embedder.cc
Examining data/steghide-0.5.1/src/msg.h
Examining data/steghide-0.5.1/src/AuSampleValues.h
Examining data/steghide-0.5.1/src/AudioSampleValue.h
Examining data/steghide-0.5.1/src/AssertionFailed.cc
Examining data/steghide-0.5.1/src/WavPCMSampleValue.h
Examining data/steghide-0.5.1/src/BFSAPHeuristic.h
Examining data/steghide-0.5.1/src/WavChunk.h
Examining data/steghide-0.5.1/src/SampleOccurence.h
Examining data/steghide-0.5.1/src/Vertex.h
Examining data/steghide-0.5.1/src/RandomSource.cc
Examining data/steghide-0.5.1/src/JpegFile.cc
Examining data/steghide-0.5.1/src/AUtils.h
Examining data/steghide-0.5.1/src/Selector.h
Examining data/steghide-0.5.1/src/Embedder.h
Examining data/steghide-0.5.1/src/AssertionFailed.h
Examining data/steghide-0.5.1/src/MHashKeyGen.cc
Examining data/steghide-0.5.1/src/main.cc
Examining data/steghide-0.5.1/src/SteghideError.cc
Examining data/steghide-0.5.1/src/MHashPP.h
Examining data/steghide-0.5.1/src/JpegSampleValue.h
Examining data/steghide-0.5.1/src/AuFile.h
Examining data/steghide-0.5.1/src/CvrStgFile.cc
Examining data/steghide-0.5.1/src/SMDConstructionHeuristic.h
Examining data/steghide-0.5.1/src/BmpRGBSampleValue.cc
Examining data/steghide-0.5.1/src/error.h
Examining data/steghide-0.5.1/src/DMDConstructionHeuristic.cc
Examining data/steghide-0.5.1/src/EdgeIterator.cc
Examining data/steghide-0.5.1/src/Globals.h
Examining data/steghide-0.5.1/src/Terminal.h
Examining data/steghide-0.5.1/src/ColorPalette.h
Examining data/steghide-0.5.1/src/RGBTriple.h
Examining data/steghide-0.5.1/src/WavChunkHeader.h
Examining data/steghide-0.5.1/src/common.h
Examining data/steghide-0.5.1/src/WavFormatChunk.cc
Examining data/steghide-0.5.1/src/DFSAPHeuristic.cc
Examining data/steghide-0.5.1/src/BmpSampleValue.h
Examining data/steghide-0.5.1/src/Edge.cc
Examining data/steghide-0.5.1/src/Vertex.cc
Examining data/steghide-0.5.1/src/BmpPaletteSampleValue.cc
Examining data/steghide-0.5.1/src/BmpSampleValue.cc
Examining data/steghide-0.5.1/src/MCryptPP.cc
Examining data/steghide-0.5.1/src/BmpRGBSampleValue.h
Examining data/steghide-0.5.1/src/gettext.h
Examining data/steghide-0.5.1/src/EmbData.h
Examining data/steghide-0.5.1/src/WavFormatChunk.h
Examining data/steghide-0.5.1/src/msg.cc
Examining data/steghide-0.5.1/src/JpegSampleValue.cc
Examining data/steghide-0.5.1/src/SampleValue.h
Examining data/steghide-0.5.1/src/SampleValue.cc
Examining data/steghide-0.5.1/src/BinaryIO.cc
Examining data/steghide-0.5.1/src/Extractor.cc
Examining data/steghide-0.5.1/src/Session.cc
Examining data/steghide-0.5.1/src/EdgeIterator.h
Examining data/steghide-0.5.1/src/DFSAPHeuristic.h
Examining data/steghide-0.5.1/src/Utils.cc
Examining data/steghide-0.5.1/src/WavFile.h
Examining data/steghide-0.5.1/src/Extractor.h
Examining data/steghide-0.5.1/src/WKSConstructionHeuristic.cc
Examining data/steghide-0.5.1/src/MatchingAlgorithm.cc
Examining data/steghide-0.5.1/src/WavPCMSampleValue.cc
Examining data/steghide-0.5.1/src/EncryptionMode.h
Examining data/steghide-0.5.1/src/EncryptionAlgorithm.h
Examining data/steghide-0.5.1/src/PseudoRandomSource.h
Examining data/steghide-0.5.1/src/Matching.cc
Examining data/steghide-0.5.1/src/EncryptionAlgorithm.cc
Examining data/steghide-0.5.1/src/MHashKeyGen.h
Examining data/steghide-0.5.1/src/BFSAPHeuristic.cc
Examining data/steghide-0.5.1/src/BmpPaletteSampleValue.h
Examining data/steghide-0.5.1/src/Terminal.cc
Examining data/steghide-0.5.1/src/WavChunkUnused.h
Examining data/steghide-0.5.1/src/BitString.h
Examining data/steghide-0.5.1/src/RandomSource.h
Examining data/steghide-0.5.1/src/DMDConstructionHeuristic.h
Examining data/steghide-0.5.1/src/BmpFile.h
Examining data/steghide-0.5.1/src/MCryptPP.h
Examining data/steghide-0.5.1/src/Session.h
Examining data/steghide-0.5.1/src/MatchingAlgorithm.h
Examining data/steghide-0.5.1/src/RGBTriple.cc
Examining data/steghide-0.5.1/src/PseudoRandomSource.cc
Examining data/steghide-0.5.1/src/Graph.h
Examining data/steghide-0.5.1/src/Arguments.h
Examining data/steghide-0.5.1/src/AuData.h
Examining data/steghide-0.5.1/src/AuSampleValues.cc
Examining data/steghide-0.5.1/src/EmbData.cc
Examining data/steghide-0.5.1/src/Graph.cc
Examining data/steghide-0.5.1/src/MHashPP.cc
Examining data/steghide-0.5.1/src/ProgressOutput.cc
Examining data/steghide-0.5.1/src/ProgressOutput.h
Examining data/steghide-0.5.1/src/wrapper_hash_map.h
Examining data/steghide-0.5.1/src/wrapper_hash_set.h
Examining data/steghide-0.5.1/src/Arguments.cc
Examining data/steghide-0.5.1/src/AuFile.cc
Examining data/steghide-0.5.1/src/AudioData.h
Examining data/steghide-0.5.1/src/BmpFile.cc
Examining data/steghide-0.5.1/src/WavFile.cc
Examining data/steghide-0.5.1/src/error.cc
Examining data/steghide-0.5.1/intl/plural.c
Examining data/steghide-0.5.1/intl/gmo.h
Examining data/steghide-0.5.1/intl/finddomain.c
Examining data/steghide-0.5.1/intl/localename.c
Examining data/steghide-0.5.1/intl/localcharset.c
Examining data/steghide-0.5.1/intl/dngettext.c
Examining data/steghide-0.5.1/intl/libgnuintl.h
Examining data/steghide-0.5.1/intl/os2compat.c
Examining data/steghide-0.5.1/intl/os2compat.h
Examining data/steghide-0.5.1/intl/dcigettext.c
Examining data/steghide-0.5.1/intl/ngettext.c
Examining data/steghide-0.5.1/intl/gettextP.h
Examining data/steghide-0.5.1/intl/explodename.c
Examining data/steghide-0.5.1/intl/l10nflist.c
Examining data/steghide-0.5.1/intl/gettext.c
Examining data/steghide-0.5.1/intl/dcgettext.c
Examining data/steghide-0.5.1/intl/loadinfo.h
Examining data/steghide-0.5.1/intl/dcngettext.c
Examining data/steghide-0.5.1/intl/bindtextdom.c
Examining data/steghide-0.5.1/intl/plural-exp.c
Examining data/steghide-0.5.1/intl/plural-exp.h
Examining data/steghide-0.5.1/intl/hash-string.h
Examining data/steghide-0.5.1/intl/intl-compat.c
Examining data/steghide-0.5.1/intl/osdep.c
Examining data/steghide-0.5.1/intl/eval-plural.h
Examining data/steghide-0.5.1/intl/localealias.c
Examining data/steghide-0.5.1/intl/loadmsgcat.c
Examining data/steghide-0.5.1/intl/dgettext.c
Examining data/steghide-0.5.1/intl/textdomain.c
Examining data/steghide-0.5.1/tests/DummySampleValue.h
Examining data/steghide-0.5.1/tests/SampleValueTest.cc
Examining data/steghide-0.5.1/tests/CvrStgFileTest.cc
Examining data/steghide-0.5.1/tests/MCryptPPTest.h
Examining data/steghide-0.5.1/tests/UnitTest.h
Examining data/steghide-0.5.1/tests/WavPCMSampleValueTest.cc
Examining data/steghide-0.5.1/tests/SelectorTest.h
Examining data/steghide-0.5.1/tests/TestCategoryCaller.h
Examining data/steghide-0.5.1/tests/EdgeIteratorTest.h
Examining data/steghide-0.5.1/tests/MHashKeyGenTest.cc
Examining data/steghide-0.5.1/tests/BmpPaletteSampleValueTest.h
Examining data/steghide-0.5.1/tests/BmpOS2FileTest.cc
Examining data/steghide-0.5.1/tests/DummyFile.h
Examining data/steghide-0.5.1/tests/AudioSampleValueTest.h
Examining data/steghide-0.5.1/tests/MHashKeyGenTest.h
Examining data/steghide-0.5.1/tests/SampleValueAdjacencyListTest.h
Examining data/steghide-0.5.1/tests/Test.h
Examining data/steghide-0.5.1/tests/BitStringTest.cc
Examining data/steghide-0.5.1/tests/WavPCMSampleValueTest.h
Examining data/steghide-0.5.1/tests/BmpOS2FileTest.h
Examining data/steghide-0.5.1/tests/GraphTest.cc
Examining data/steghide-0.5.1/tests/DummySampleValue.cc
Examining data/steghide-0.5.1/tests/BitStringTest.h
Examining data/steghide-0.5.1/tests/main.cc
Examining data/steghide-0.5.1/tests/EdgeIteratorTest.cc
Examining data/steghide-0.5.1/tests/JpegSampleValueTest.cc
Examining data/steghide-0.5.1/tests/GraphTest.h
Examining data/steghide-0.5.1/tests/BmpWinFileTest.cc
Examining data/steghide-0.5.1/tests/AuFileTest.cc
Examining data/steghide-0.5.1/tests/MatchingTest.h
Examining data/steghide-0.5.1/tests/MHashPPTest.h
Examining data/steghide-0.5.1/tests/TestCategory.h
Examining data/steghide-0.5.1/tests/SampleValueAdjacencyListTest.cc
Examining data/steghide-0.5.1/tests/BmpPaletteSampleValueTest.cc
Examining data/steghide-0.5.1/tests/MatchingTest.cc
Examining data/steghide-0.5.1/tests/AuFileTest.h
Examining data/steghide-0.5.1/tests/JpegFileTest.h
Examining data/steghide-0.5.1/tests/EmbDataTest.h
Examining data/steghide-0.5.1/tests/BmpRGBSampleValueTest.cc
Examining data/steghide-0.5.1/tests/BFSAPHeuristicTest.h
Examining data/steghide-0.5.1/tests/WKSConstructionHeuristicTest.cc
Examining data/steghide-0.5.1/tests/DummyFile.cc
Examining data/steghide-0.5.1/tests/WKSConstructionHeuristicTest.h
Examining data/steghide-0.5.1/tests/MHashPPTest.cc
Examining data/steghide-0.5.1/tests/TestSuite.h
Examining data/steghide-0.5.1/tests/JpegFileTest.cc
Examining data/steghide-0.5.1/tests/MCryptPPTest.cc
Examining data/steghide-0.5.1/tests/BmpFileTest.h
Examining data/steghide-0.5.1/tests/EmbDataTest.cc
Examining data/steghide-0.5.1/tests/utcommon.h
Examining data/steghide-0.5.1/tests/SampleValueTest.h
Examining data/steghide-0.5.1/tests/BmpFileTest.cc
Examining data/steghide-0.5.1/tests/UnitTest.cc
Examining data/steghide-0.5.1/tests/BmpRGBSampleValueTest.h
Examining data/steghide-0.5.1/tests/WavFileTest.cc
Examining data/steghide-0.5.1/tests/DFSAPHeuristicTest.h
Examining data/steghide-0.5.1/tests/TestSuite.cc
Examining data/steghide-0.5.1/tests/DFSAPHeuristicTest.cc
Examining data/steghide-0.5.1/tests/BFSAPHeuristicTest.cc
Examining data/steghide-0.5.1/tests/AUtilsTest.cc
Examining data/steghide-0.5.1/tests/WavFileTest.h
Examining data/steghide-0.5.1/tests/AUtilsTest.h
Examining data/steghide-0.5.1/tests/CvrStgFileTest.h
Examining data/steghide-0.5.1/tests/AudioSampleValueTest.cc
Examining data/steghide-0.5.1/tests/JpegSampleValueTest.h
Examining data/steghide-0.5.1/tests/BmpWinFileTest.h
Examining data/steghide-0.5.1/tests/SelectorTest.cc

FINAL RESULTS:

data/steghide-0.5.1/intl/localcharset.c:185:8:  [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 (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/steghide-0.5.1/intl/localcharset.c:186:8:  [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 (res_ptr + res_size - (l2 + 1), buf2);
data/steghide-0.5.1/intl/os2compat.c:97:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (libintl_nl_default_dirname, _nlos2_localedir);
data/steghide-0.5.1/intl/plural.c:1008: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(msg, count == 0 ? ", expecting `" : " or `");
data/steghide-0.5.1/intl/plural.c:1009: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(msg, yytname[x]);
data/steghide-0.5.1/src/Embedder.cc:160:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (buf, _("embedding %s in %s..."), embstring.c_str(), cvrstring.c_str()) ;
data/steghide-0.5.1/src/MCryptPP.cc:60:2:  [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 (algo, tmp1.c_str()) ;
data/steghide-0.5.1/src/MCryptPP.cc:61:2:  [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 (mode, tmp2.c_str()) ;
data/steghide-0.5.1/src/MCryptPP.cc:244:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (algo, tmp1.c_str()) ;
data/steghide-0.5.1/src/MCryptPP.cc:245:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy (mode, tmp2.c_str()) ;
data/steghide-0.5.1/src/MCryptPP.cc:311:2:  [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 (algo, tmp1.c_str()) ;
data/steghide-0.5.1/src/MCryptPP.cc:312:2:  [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 (mode, tmp2.c_str()) ;
data/steghide-0.5.1/src/MHashKeyGen.cc:56:2:  [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 (passwd, password.c_str()) ;
data/steghide-0.5.1/src/ProgressOutput.cc:51: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 (str, 200, msgfmt, ap) ;
data/steghide-0.5.1/src/Utils.cc:44:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (buf, "%.1f %s", s, unit.c_str()) ;
data/steghide-0.5.1/src/msg.cc:74: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 (str, MsgMaxSize, msgfmt, ap) ;
data/steghide-0.5.1/src/msg.cc:217:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf (stderr, msgfmt, ap) ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:185:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (command, "%s %s %s", COMPARE, fn1.c_str(), fn2.c_str()) ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:186:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	return (system(command) ? false : true) ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:192:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (command, "%s %s", REMOVE, fn.c_str()) ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:193:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system (command) ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:199:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (command, "%s %s %s", COPY, src.c_str(), dest.c_str()) ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:200:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system (command) ;
data/steghide-0.5.1/intl/dcigettext.c:130:7:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
char *getwd ();
data/steghide-0.5.1/intl/dcigettext.c:131:28:  [3] (buffer) getwd:
  This does not protect against buffer overflows by itself, so use with
  caution (CWE-120, CWE-20). Use getcwd instead.
#  define getcwd(buf, max) getwd (buf)
data/steghide-0.5.1/intl/dcigettext.c:1102: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.
  language = getenv ("LANGUAGE");
data/steghide-0.5.1/intl/loadmsgcat.c:819:21:  [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.
	      outcharset = getenv ("OUTPUT_CHARSET");
data/steghide-0.5.1/intl/localcharset.c:268:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_ALL");
data/steghide-0.5.1/intl/localcharset.c:271:13:  [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.
	  locale = getenv ("LC_CTYPE");
data/steghide-0.5.1/intl/localcharset.c:273:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	    locale = getenv ("LANG");
data/steghide-0.5.1/intl/localcharset.c:301:12:  [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.
  locale = getenv ("LC_ALL");
data/steghide-0.5.1/intl/localcharset.c:304:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      locale = getenv ("LC_CTYPE");
data/steghide-0.5.1/intl/localcharset.c:306:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	locale = getenv ("LANG");
data/steghide-0.5.1/intl/localename.c:398:12:  [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.
  retval = getenv ("LC_ALL");
data/steghide-0.5.1/intl/localename.c:402:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      retval = getenv (categoryname);
data/steghide-0.5.1/intl/localename.c:406:13:  [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.
	  retval = getenv ("LANG");
data/steghide-0.5.1/intl/localename.c:430:12:  [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.
  retval = getenv ("LC_ALL");
data/steghide-0.5.1/intl/localename.c:433:12:  [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.
  retval = getenv (categoryname);
data/steghide-0.5.1/intl/localename.c:436:12:  [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.
  retval = getenv ("LANG");
data/steghide-0.5.1/intl/os2compat.c:51:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *root = getenv ("UNIXROOT");
data/steghide-0.5.1/intl/os2compat.c:52:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *gnulocaledir = getenv ("GNULOCALEDIR");
data/steghide-0.5.1/intl/os2compat.h:43:9:  [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.
#define getenv _nl_getenv
data/steghide-0.5.1/src/Graph.cc:572:2:  [3] (random) srand:
  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.
	srand ((unsigned int) time (NULL)) ;
data/steghide-0.5.1/src/RandomSource.cc:41:3:  [3] (random) srand:
  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.
		srand ((unsigned int) time (NULL)) ;
data/steghide-0.5.1/src/RandomSource.cc:45:2:  [3] (random) srand:
  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.
	srand ((unsigned int) time (NULL)) ;
data/steghide-0.5.1/intl/bindtextdom.c:159: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 (result, dirname, len);
data/steghide-0.5.1/intl/bindtextdom.c:197:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		    memcpy (result, codeset, len);
data/steghide-0.5.1/intl/bindtextdom.c:233:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (new_binding->domainname, domainname, len);
data/steghide-0.5.1/intl/bindtextdom.c:258: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 (result, dirname, len);
data/steghide-0.5.1/intl/bindtextdom.c:289:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy (result, codeset, len);
data/steghide-0.5.1/intl/dcigettext.c:218: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 msgid[ZERO];
data/steghide-0.5.1/intl/dcigettext.c:336: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 data[ZERO];
data/steghide-0.5.1/intl/dcigettext.c:448: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 (search->msgid, msgid1, msgid_len);
data/steghide-0.5.1/intl/dcigettext.c:640: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 (newp->domainname, domainname, domainname_len + 1);
data/steghide-0.5.1/intl/dcigettext.c:1152:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  return (void *) ((char *) memcpy (dest, src, n) + n);
data/steghide-0.5.1/intl/finddomain.c:133:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (locale, alias_value, len);
data/steghide-0.5.1/intl/gettextP.h:153: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 domainname[ZERO];
data/steghide-0.5.1/intl/l10nflist.c:247:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (cp, dirlist, dirlist_len);
data/steghide-0.5.1/intl/loadmsgcat.c:454:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
# define open   __open
data/steghide-0.5.1/intl/loadmsgcat.c:806: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 (charset, charsetstr, len);
data/steghide-0.5.1/intl/loadmsgcat.c:853:8:  [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 (tmp, outcharset, len);
data/steghide-0.5.1/intl/loadmsgcat.c:854:8:  [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 (tmp + len, "//TRANSLIT", 10 + 1);
data/steghide-0.5.1/intl/loadmsgcat.c:931: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).
  fd = open (domain_file->filename, O_RDONLY | O_BINARY);
data/steghide-0.5.1/intl/loadmsgcat.c:1202: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 (mem, static_segments, segsize);
data/steghide-0.5.1/intl/loadmsgcat.c:1211:8:  [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 (mem, sysdep_segment_values[sysdepref], n);
data/steghide-0.5.1/intl/localcharset.c:127:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy (file_name, dir, dir_len);
data/steghide-0.5.1/intl/localcharset.c:130:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy (file_name + dir_len + add_slash, base, base_len + 1);
data/steghide-0.5.1/intl/localcharset.c:134:38:  [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 (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
data/steghide-0.5.1/intl/localcharset.c:141: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 buf1[50+1];
data/steghide-0.5.1/intl/localcharset.c:142: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 buf2[50+1];
data/steghide-0.5.1/intl/localcharset.c:286:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[2 + 10 + 1];
data/steghide-0.5.1/intl/localcharset.c:289:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf (buf, "CP%u", GetACP ());
data/steghide-0.5.1/intl/localcharset.c:295:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[2 + 10 + 1];
data/steghide-0.5.1/intl/localcharset.c:324:8:  [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 (buf, dot, modifier - dot);
data/steghide-0.5.1/intl/localcharset.c:340:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	  sprintf (buf, "CP%u", cp[0]);
data/steghide-0.5.1/intl/localealias.c:216: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 (full_fname, fname, fname_len);
data/steghide-0.5.1/intl/localealias.c:217: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 (&full_fname[fname_len], aliasfile, sizeof aliasfile);
data/steghide-0.5.1/intl/localealias.c:220: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).
  fp = fopen (full_fname, "r");
data/steghide-0.5.1/intl/localealias.c:238: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 buf[BUFSIZ];
data/steghide-0.5.1/intl/localealias.c:251: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 altbuf[BUFSIZ];
data/steghide-0.5.1/intl/localealias.c:331:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      map[nmap].alias = memcpy (&string_space[string_space_act],
data/steghide-0.5.1/intl/localealias.c:335:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      map[nmap].value = memcpy (&string_space[string_space_act],
data/steghide-0.5.1/intl/os2compat.c:42: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 libintl_nl_default_dirname[MAXPATHLEN+1];
data/steghide-0.5.1/intl/os2compat.c:61:11:  [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 (_nlos2_libdir, root, sl);
data/steghide-0.5.1/intl/os2compat.c:62:11:  [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 (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
data/steghide-0.5.1/intl/os2compat.c:75:11:  [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 (_nlos2_localealiaspath, root, sl);
data/steghide-0.5.1/intl/os2compat.c:76:11:  [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 (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
data/steghide-0.5.1/intl/os2compat.c:89:11:  [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 (_nlos2_localedir, root, sl);
data/steghide-0.5.1/intl/os2compat.c:90:11:  [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 (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1);
data/steghide-0.5.1/intl/plural.c:999:8:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	      strcpy(msg, "parse error");
data/steghide-0.5.1/intl/textdomain.c:116: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 (new_domain, domainname, len);
data/steghide-0.5.1/src/AuFile.h:59: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		id[4] ;
data/steghide-0.5.1/src/AudioSampleValue.h:131: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 buf[128] ;
data/steghide-0.5.1/src/AudioSampleValue.h:132:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%ld", (long) Value) ;
data/steghide-0.5.1/src/BinaryIO.cc:42: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 (fn, m) ;
data/steghide-0.5.1/src/BinaryIO.cc:55: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 *fd = fopen (fn.c_str(), "r") ;
data/steghide-0.5.1/src/BinaryIO.cc:76:16:  [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 BinaryIO::open (const std::string& fn, MODE m)
data/steghide-0.5.1/src/BinaryIO.cc:112: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).
		if ((s = fopen (fn.c_str(), cmode)) == NULL) {
data/steghide-0.5.1/src/BinaryIO.cc:239: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 retval[len + 1] ;
data/steghide-0.5.1/src/BinaryIO.h:84: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 (const std::string& fn, MODE m) ;	
data/steghide-0.5.1/src/BmpPaletteSampleValue.cc:60: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 buf[128] ;
data/steghide-0.5.1/src/BmpPaletteSampleValue.cc:61:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "i%ur%ug%ub%u", getIndex(), getRed(), getGreen(), getBlue()) ;
data/steghide-0.5.1/src/BmpRGBSampleValue.cc:124: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 buf[128] ;
data/steghide-0.5.1/src/BmpRGBSampleValue.cc:125:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "r%ug%ub%u", getRed(), getGreen(), getBlue()) ;
data/steghide-0.5.1/src/CvrStgFile.cc:157: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 buf[4] = { '\0', '\0', '\0', '\0' } ;
data/steghide-0.5.1/src/Embedder.cc:159: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[200] ;
data/steghide-0.5.1/src/JpegFile.cc:233: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[30] ;
data/steghide-0.5.1/src/JpegFile.cc:234:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%ld: %lu", (long) pit->first, pit->second) ;
data/steghide-0.5.1/src/JpegFile.cc:240: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[30] ;
data/steghide-0.5.1/src/JpegFile.cc:241:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%ld: %lu", (long) nit->first, nit->second) ;
data/steghide-0.5.1/src/JpegSampleValue.cc:95: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 buf[128] ;
data/steghide-0.5.1/src/JpegSampleValue.cc:96:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%d", DctCoeff) ;
data/steghide-0.5.1/src/MCryptPP.cc:46: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 (a, m) ;
data/steghide-0.5.1/src/MCryptPP.cc:56:16:  [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 MCryptPP::open (EncryptionAlgorithm a, EncryptionMode m)
data/steghide-0.5.1/src/MCryptPP.cc:59: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 algo[tmp1.size() + 1], mode[tmp2.size() + 1] ;
data/steghide-0.5.1/src/MCryptPP.cc:243: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 algo[tmp1.size() + 1], mode[tmp2.size() + 1] ;
data/steghide-0.5.1/src/MCryptPP.cc:310: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 algo[tmp1.size() + 1], mode[tmp2.size() + 1] ;
data/steghide-0.5.1/src/MCryptPP.h:54: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 (EncryptionAlgorithm a, EncryptionMode m) ;
data/steghide-0.5.1/src/RandomSource.cc:37:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((RandomInput = fopen ("/dev/urandom", "r")) == NULL) {
data/steghide-0.5.1/src/Utils.cc:43: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 buf[15] ;
data/steghide-0.5.1/src/WavChunkHeader.h:41: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 ChunkId[4] ;
data/steghide-0.5.1/src/WavFile.h:62: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 id_wave[4] ;
data/steghide-0.5.1/src/WavPCMSampleValue.cc:119: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 buf[128] ;
data/steghide-0.5.1/src/WavPCMSampleValue.cc:120:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%d", Value) ;
data/steghide-0.5.1/src/main.cc:34: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 language[3] ;
data/steghide-0.5.1/src/msg.cc:198: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 input[2] ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:184: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 command[256] ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:191: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 command[256] ;
data/steghide-0.5.1/tests/CvrStgFileTest.cc:198: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 command[256] ;
data/steghide-0.5.1/tests/DummySampleValue.cc:63: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 buf[128] ;
data/steghide-0.5.1/tests/DummySampleValue.cc:64:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf (buf, "%d", Value) ;
data/steghide-0.5.1/intl/bindtextdom.c:156: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).
		      size_t len = strlen (dirname) + 1;
data/steghide-0.5.1/intl/bindtextdom.c:194: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).
		  size_t len = strlen (codeset) + 1;
data/steghide-0.5.1/intl/bindtextdom.c:226:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (domainname) + 1;
data/steghide-0.5.1/intl/bindtextdom.c:254: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).
		  size_t len = strlen (dirname) + 1;
data/steghide-0.5.1/intl/bindtextdom.c:285: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).
	      size_t len = strlen (codeset) + 1;
data/steghide-0.5.1/intl/dcigettext.c:442: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).
  msgid_len = strlen (msgid1) + 1;
data/steghide-0.5.1/intl/dcigettext.c:496:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t dirname_len = strlen (binding->dirname) + 1;
data/steghide-0.5.1/intl/dcigettext.c:537:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  domainname_len = strlen (domainname);
data/steghide-0.5.1/intl/dcigettext.c:538:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  xdomainname = (char *) alloca (strlen (categoryname)
data/steghide-0.5.1/intl/dcigettext.c:547: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).
  single_locale = (char *) alloca (strlen (categoryvalue) + 1);
data/steghide-0.5.1/intl/dcigettext.c:706: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).
      nls_uint32 len = strlen (msgid);
data/steghide-0.5.1/intl/eval-plural.h:90:13:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	      case equal:
data/steghide-0.5.1/intl/finddomain.c:92:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			       strlen (dirname) + 1, 0, locale, NULL, NULL,
data/steghide-0.5.1/intl/finddomain.c:128:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (alias_value) + 1;
data/steghide-0.5.1/intl/finddomain.c:147:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			       strlen (dirname) + 1, mask, language, territory,
data/steghide-0.5.1/intl/l10nflist.c:97:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t part_len = strlen (argz);
data/steghide-0.5.1/intl/l10nflist.c:125:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t part_len = strlen (argz);
data/steghide-0.5.1/intl/l10nflist.c:220:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				  + strlen (language)
data/steghide-0.5.1/intl/l10nflist.c:222: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).
				     ? strlen (territory) + 1 : 0)
data/steghide-0.5.1/intl/l10nflist.c:224: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).
				     ? strlen (codeset) + 1 : 0)
data/steghide-0.5.1/intl/l10nflist.c:226: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).
				     ? strlen (normalized_codeset) + 1 : 0)
data/steghide-0.5.1/intl/l10nflist.c:229: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).
				     ? strlen (modifier) + 1 : 0)
data/steghide-0.5.1/intl/l10nflist.c:231: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).
				     ? strlen (special) + 1 : 0)
data/steghide-0.5.1/intl/l10nflist.c:235:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					     ? strlen (sponsor) : 0)
data/steghide-0.5.1/intl/l10nflist.c:237:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					   ? strlen (revision) + 1 : 0)) : 0)
data/steghide-0.5.1/intl/l10nflist.c:238:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				  + 1 + strlen (filename) + 1);
data/steghide-0.5.1/intl/l10nflist.c:374:45:  [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).
		= _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1,
data/steghide-0.5.1/intl/loadmsgcat.c:456:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define read   __read
data/steghide-0.5.1/intl/loadmsgcat.c:799: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).
	  charsetstr += strlen ("charset=");
data/steghide-0.5.1/intl/loadmsgcat.c:851:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      len = strlen (outcharset);
data/steghide-0.5.1/intl/loadmsgcat.c:979:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  long int nb = (long int) read (fd, read_ptr, to_read);
data/steghide-0.5.1/intl/loadmsgcat.c:1142: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).
			  need += strlen (sysdep_segment_values[sysdepref]);
data/steghide-0.5.1/intl/loadmsgcat.c:1210: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).
			    n = strlen (sysdep_segment_values[sysdepref]);
data/steghide-0.5.1/intl/localcharset.c:81:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/steghide-0.5.1/intl/localcharset.c:82:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/steghide-0.5.1/intl/localcharset.c:121:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t dir_len = strlen (dir);
data/steghide-0.5.1/intl/localcharset.c:122:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t base_len = strlen (base);
data/steghide-0.5.1/intl/localcharset.c:149:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc (fp);
data/steghide-0.5.1/intl/localcharset.c:158:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc (fp);
data/steghide-0.5.1/intl/localcharset.c:165:12:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	      if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/steghide-0.5.1/intl/localcharset.c:167:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      l1 = strlen (buf1);
data/steghide-0.5.1/intl/localcharset.c:168:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      l2 = strlen (buf2);
data/steghide-0.5.1/intl/localcharset.c:354:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/steghide-0.5.1/intl/localcharset.c:354:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/steghide-0.5.1/intl/localcharset.c:358: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).
	codeset = aliases + strlen (aliases) + 1;
data/steghide-0.5.1/intl/localealias.c:303:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      alias_len = strlen (alias) + 1;
data/steghide-0.5.1/intl/localealias.c:304:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      value_len = strlen (value) + 1;
data/steghide-0.5.1/intl/os2compat.c:59: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).
          size_t sl = strlen (root);
data/steghide-0.5.1/intl/os2compat.c:60:49:  [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).
          _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1);
data/steghide-0.5.1/intl/os2compat.c:62:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
data/steghide-0.5.1/intl/os2compat.c:73: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).
          size_t sl = strlen (root);
data/steghide-0.5.1/intl/os2compat.c:74:58:  [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).
          _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1);
data/steghide-0.5.1/intl/os2compat.c:76:67:  [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).
          memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
data/steghide-0.5.1/intl/os2compat.c:87: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).
          size_t sl = strlen (root);
data/steghide-0.5.1/intl/os2compat.c:88:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1);
data/steghide-0.5.1/intl/os2compat.c:90:53:  [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).
          memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1);
data/steghide-0.5.1/intl/os2compat.c:96:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen (_nlos2_localedir) <= MAXPATHLEN)
data/steghide-0.5.1/intl/plural-exp.h:62:5:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    equal,			/* Comparison for equality.  */
data/steghide-0.5.1/intl/plural.c:995: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).
	      size += strlen(yytname[x]) + 15, count++;
data/steghide-0.5.1/intl/plural.c:1010: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(msg, "'");
data/steghide-0.5.1/intl/plural.c:1216:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	  lval->op = equal;
data/steghide-0.5.1/intl/textdomain.c:113:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t len = strlen (domainname) + 1;
data/steghide-0.5.1/src/Arguments.cc:44: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).
			unsigned int len = strlen(argv[i]) ;
data/steghide-0.5.1/src/AssertionFailed.cc:37: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).
    end = i = strlen (fn) - 1 ;
data/steghide-0.5.1/src/AuFile.cc:41:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read (io) ;
data/steghide-0.5.1/src/AuFile.cc:49:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void AuFile::read (BinaryIO *io)
data/steghide-0.5.1/src/AuFile.cc:51:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	CvrStgFile::read (io) ;
data/steghide-0.5.1/src/AuFile.cc:137:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	Data->read (getBinIO(), n) ;
data/steghide-0.5.1/src/AuFile.h:40:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO *io) ;
data/steghide-0.5.1/src/AudioData.h:42:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual void read (BinaryIO* io, UWORD32 n = NoLimit) = 0 ;
data/steghide-0.5.1/src/AudioData.h:56:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO* io, UWORD32 n = AudioData::NoLimit) ;
data/steghide-0.5.1/src/AudioData.h:74:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void AudioDataImpl<Type,ValueType,SampleValueType>::read (BinaryIO* io, UWORD32 n)
data/steghide-0.5.1/src/BinaryIO.cc:125:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int c = fgetc (getStream()) ;
data/steghide-0.5.1/src/BinaryIO.cc:152:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((c = fgetc (getStream())) == EOF) {
data/steghide-0.5.1/src/BinaryIO.cc:166:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((bytes[i] = fgetc (getStream())) == EOF) {
data/steghide-0.5.1/src/BinaryIO.cc:181:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((bytes[i] = fgetc (getStream())) == EOF) {
data/steghide-0.5.1/src/BinaryIO.cc:196:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((bytes[i] = fgetc (getStream())) == EOF) {
data/steghide-0.5.1/src/BinaryIO.cc:211:19:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((bytes[i] = fgetc (getStream())) == EOF) {
data/steghide-0.5.1/src/BinaryIO.cc:228:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((byte = fgetc (getStream())) == EOF) {
data/steghide-0.5.1/src/BmpFile.cc:42:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read (io) ;
data/steghide-0.5.1/src/BmpFile.cc:55:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void BmpFile::read (BinaryIO *io)
data/steghide-0.5.1/src/BmpFile.cc:57:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	CvrStgFile::read (io) ;
data/steghide-0.5.1/src/BmpFile.h:37:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO *io) ;
data/steghide-0.5.1/src/CvrStgFile.cc:63:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void CvrStgFile::read (BinaryIO *io)
data/steghide-0.5.1/src/CvrStgFile.h:69:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual void read (BinaryIO *io) ;
data/steghide-0.5.1/src/JpegFile.cc:43:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read (io) ;
data/steghide-0.5.1/src/JpegFile.cc:66:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void JpegFile::read (BinaryIO* io)
data/steghide-0.5.1/src/JpegFile.cc:68:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	CvrStgFile::read (io) ;
data/steghide-0.5.1/src/JpegFile.h:50:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO* io) ;
data/steghide-0.5.1/src/MHashKeyGen.cc:57: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 passwdlen = strlen (passwd) ;
data/steghide-0.5.1/src/RandomSource.cc:63:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		retval = getc (RandomInput) ;
data/steghide-0.5.1/src/SampleValueAdjacencyList.cc:57:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
			equal = rowequal && equal ;
data/steghide-0.5.1/src/SampleValueAdjacencyList.cc:60:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	return equal ;
data/steghide-0.5.1/src/WavChunk.h:34:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	virtual void read (BinaryIO *io) = 0 ;
data/steghide-0.5.1/src/WavChunkHeader.cc:34:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read (io) ;
data/steghide-0.5.1/src/WavChunkHeader.cc:37:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void WavChunkHeader::read (BinaryIO *io)
data/steghide-0.5.1/src/WavChunkHeader.h:34:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO *io) ;
data/steghide-0.5.1/src/WavChunkUnused.cc:25:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void WavChunkUnused::read (BinaryIO *io)
data/steghide-0.5.1/src/WavChunkUnused.h:37:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		WavChunk(chh) { read(io) ; } ;
data/steghide-0.5.1/src/WavChunkUnused.h:39:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO *io) ;
data/steghide-0.5.1/src/WavFile.cc:43:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	read (io) ;
data/steghide-0.5.1/src/WavFile.cc:56:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void WavFile::read (BinaryIO *io)
data/steghide-0.5.1/src/WavFile.cc:58:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	CvrStgFile::read (io) ;
data/steghide-0.5.1/src/WavFile.h:39:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO *io) ;
data/steghide-0.5.1/src/WavFormatChunk.cc:26:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void WavFormatChunk::read (BinaryIO *io)
data/steghide-0.5.1/src/WavFormatChunk.h:36:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		WavChunk(chh) { read(io) ; } ;
data/steghide-0.5.1/src/WavFormatChunk.h:38:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read (BinaryIO *io) ;

ANALYSIS SUMMARY:

Hits = 238
Lines analyzed = 30347 in approximately 0.99 seconds (30738 lines/second)
Physical Source Lines of Code (SLOC) = 19486
Hits@level = [0]  53 [1] 107 [2]  86 [3]  22 [4]  23 [5]   0
Hits@level+ = [0+] 291 [1+] 238 [2+] 131 [3+]  45 [4+]  23 [5+]   0
Hits/KSLOC@level+ = [0+] 14.9338 [1+] 12.2139 [2+] 6.72278 [3+] 2.30935 [4+] 1.18033 [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.