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/collada2gltf-20140924/COLLADA2GLTFWriter.cpp
Examining data/collada2gltf-20140924/assetModifiers/GLTFFlipUVModifier.h
Examining data/collada2gltf-20140924/assetModifiers/GLTFFlipUVModifier.cpp
Examining data/collada2gltf-20140924/assetModifiers/GLTFAssetModifier.h
Examining data/collada2gltf-20140924/COLLADA2GLTFExport.h
Examining data/collada2gltf-20140924/convert/meshConverter.cpp
Examining data/collada2gltf-20140924/convert/animationConverter.cpp
Examining data/collada2gltf-20140924/convert/animationConverter.h
Examining data/collada2gltf-20140924/convert/meshConverter.h
Examining data/collada2gltf-20140924/GLTFOpenCOLLADAUtils.h
Examining data/collada2gltf-20140924/main.cpp
Examining data/collada2gltf-20140924/GitSHA1.h
Examining data/collada2gltf-20140924/JSON/JSONNumber.cpp
Examining data/collada2gltf-20140924/JSON/JSONString.h
Examining data/collada2gltf-20140924/JSON/JSONString.cpp
Examining data/collada2gltf-20140924/JSON/JSONNumber.h
Examining data/collada2gltf-20140924/JSON/JSONArray.cpp
Examining data/collada2gltf-20140924/JSON/JSONValue.h
Examining data/collada2gltf-20140924/JSON/JSONArray.h
Examining data/collada2gltf-20140924/JSON/JSONValue.cpp
Examining data/collada2gltf-20140924/JSON/JSONObject.h
Examining data/collada2gltf-20140924/JSON/JSONObject.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFAccessor.h
Examining data/collada2gltf-20140924/GLTF/GLTFAccessor.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFExtras.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFPrimitive.h
Examining data/collada2gltf-20140924/GLTF/GLTFBuffer.h
Examining data/collada2gltf-20140924/GLTF/GLTFInputStream.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFAnimation.h
Examining data/collada2gltf-20140924/GLTF/GLTFExtraDataHandler.h
Examining data/collada2gltf-20140924/GLTF/GLTFMesh.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFMesh.h
Examining data/collada2gltf-20140924/GLTF/GLTFExtras.h
Examining data/collada2gltf-20140924/GLTF/GLTFUtils.h
Examining data/collada2gltf-20140924/GLTF/GLTFEffect.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFAsset.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFAccessorCache.h
Examining data/collada2gltf-20140924/GLTF/GLTFAccessorCache.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFTypesAndConstants.h
Examining data/collada2gltf-20140924/GLTF/GLTFProfile.h
Examining data/collada2gltf-20140924/GLTF/GLTFBuffer.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFUtils.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFEffect.h
Examining data/collada2gltf-20140924/GLTF/GLTFAnimation.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFConfig.h
Examining data/collada2gltf-20140924/GLTF/GLTFPrimitive.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFProfile.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFConfig.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFSkin.h
Examining data/collada2gltf-20140924/GLTF/GLTFExtraDataHandler.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFInputStream.h
Examining data/collada2gltf-20140924/GLTF/GLTFOutputStream.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFOutputStream.h
Examining data/collada2gltf-20140924/GLTF/GLTFAsset.h
Examining data/collada2gltf-20140924/GLTF/GLTFSkin.cpp
Examining data/collada2gltf-20140924/GLTF/GLTF.h
Examining data/collada2gltf-20140924/GLTF/GLTFWriter.cpp
Examining data/collada2gltf-20140924/GLTF/GLTFWriter.h
Examining data/collada2gltf-20140924/GLTFOpenCOLLADAUtils.cpp
Examining data/collada2gltf-20140924/profiles/webgl-1.0/GLTFWebGL_1_0_Profile.cpp
Examining data/collada2gltf-20140924/profiles/webgl-1.0/webgl-idl.h
Examining data/collada2gltf-20140924/profiles/webgl-1.0/GLTFWebGL_1_0_Profile.h
Examining data/collada2gltf-20140924/shaders/commonProfileShaders.h
Examining data/collada2gltf-20140924/shaders/commonProfileShaders.cpp
Examining data/collada2gltf-20140924/helpers/geometryHelpers.cpp
Examining data/collada2gltf-20140924/helpers/mathHelpers.cpp
Examining data/collada2gltf-20140924/helpers/encodingHelpers.h
Examining data/collada2gltf-20140924/helpers/encodingHelpers.cpp
Examining data/collada2gltf-20140924/helpers/geometryHelpers.h
Examining data/collada2gltf-20140924/helpers/mathHelpers.h
Examining data/collada2gltf-20140924/GLTFOpenCOLLADA.h
Examining data/collada2gltf-20140924/COLLADA2GLTFWriter.h
Examining data/collada2gltf-20140924/extensions/o3dgc-compression/GLTF-Open3DGC.h
Examining data/collada2gltf-20140924/extensions/o3dgc-compression/GLTF-Open3DGC.cpp
Examining data/collada2gltf-20140924/dependencies/misc/getopt.c
Examining data/collada2gltf-20140924/dependencies/misc/getopt_long.c
Examining data/collada2gltf-20140924/dependencies/misc/getopt.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/filestream.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/encodedstream.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/allocators.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/reader.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/prettywriter.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/encodings.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/stringbuffer.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/filewritestream.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/internal/pow10.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/internal/strfunc.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/internal/stack.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/filereadstream.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/rapidjson.h
Examining data/collada2gltf-20140924/dependencies/json/include/rapidjson/writer.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/autolink.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/reader.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/features.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/forwards.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/config.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/json.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/value.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/writer.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/main.cpp
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/jsontestrunner/main.cpp
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_value.cpp
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_reader.cpp
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_batchallocator.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/include/yajl/yajl_tree.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/include/yajl/yajl_gen.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/include/yajl/yajl_parse.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/include/yajl/yajl_version.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/include/yajl/yajl_common.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_lex.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/api/yajl_tree.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/api/yajl_gen.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/api/yajl_parse.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/api/yajl_common.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_lex.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_buf.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_encode.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_encode.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_version.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_buf.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_alloc.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_bytestack.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_alloc.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajsondec.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajsonenc.c
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajson.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-death-test.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-typed-test.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-test-part.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest_pred_impl.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-printers.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-spi.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-message.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-death-test-internal.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-filepath.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-linked_ptr.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-internal.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-param-util-generated.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-type-util.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-tuple.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-param-util.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-string.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest-param-test.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest_prod.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-filepath.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-typed-test.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest_main.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-internal-inl.h
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-test-part.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-death-test.cc
Examining data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-all.cc
Examining data/collada2gltf-20140924/dependencies/json/example/serialize/serialize.cpp
Examining data/collada2gltf-20140924/dependencies/json/example/prettyauto/prettyauto.cpp
Examining data/collada2gltf-20140924/dependencies/json/example/condense/condense.cpp
Examining data/collada2gltf-20140924/dependencies/json/example/tutorial/tutorial.cpp
Examining data/collada2gltf-20140924/dependencies/json/example/pretty/pretty.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/encodingstest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/documenttest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/writertest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/unittest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/unittest.h
Examining data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/perftest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/jsoncpptest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/ultrajsontest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/yajl_all.c
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/perftest.h
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/misctest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp
Examining data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcTools.cpp
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcArithmeticCodec.cpp
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcTriangleFans.cpp
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcArithmeticCodec.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcSC3DMCEncodeParams.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcTriangleFans.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcAdjacencyInfo.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcDynamicVector.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcBinaryStream.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcIndexedFaceSet.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcTimer.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcCommon.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcDVEncodeParams.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcFIFO.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcVector.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_decode_lib/src/o3dgcDynamicVectorDecoder.cpp
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_decode_lib/inc/o3dgcSC3DMCDecoder.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_decode_lib/inc/o3dgcDynamicVectorDecoder.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_decode_lib/inc/o3dgcTriangleListDecoder.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_encode_lib/src/o3dgcDynamicVectorEncoder.cpp
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_encode_lib/inc/o3dgcDynamicVectorEncoder.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_encode_lib/inc/o3dgcSC3DMCEncoder.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_encode_lib/inc/o3dgcTriangleListEncoder.h
Examining data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp

FINAL RESULTS:

data/collada2gltf-20140924/GLTF/GLTFAsset.cpp:318:13:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
            vsprintf (buffer,format, args);
data/collada2gltf-20140924/dependencies/json/example/tutorial/tutorial.cpp:108:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		int len = sprintf(buffer, "%s %s", "Milo", "Yip");	// synthetic example of dynamically created string.
data/collada2gltf-20140924/dependencies/json/test/perftest/yajl_all.c:9:9:  [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.
#define snprintf _snprintf
data/collada2gltf-20140924/dependencies/json/test/perftest/yajl_all.c:9:18:  [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.
#define snprintf _snprintf
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:22:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buffer, "encodings/%s", filename);
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:25:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(buffer, "../../bin/encodings/%s", filename);
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:152:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buffer, "[%s]", str); \
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-death-test-internal.h:165:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(\
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h:1609:20:  [4] (buffer) StrNCpy:
  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).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:59:10:  [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.
# define snprintf _snprintf
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:59:19:  [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.
# define snprintf _snprintf
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:61:10:  [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.
# define snprintf _snprintf_s
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:63:10:  [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.
# define snprintf _snprintf
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:63:19:  [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.
# define snprintf _snprintf
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:136: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.
# define vsnprintf _vsnprintf
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:840:12:  [4] (buffer) StrNCpy:
  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).
    posix::StrNCpy(clone, str, length);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1460:12:  [4] (buffer) StrNCpy:
  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).
    posix::StrNCpy(
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1713:20:  [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.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1717:20:  [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.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:2634:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:2653:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:2660:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:92:9:  [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((char *) str, errorType);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:96:13:  [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((char *) str, errorText);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:133:17:  [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((char *) newStr, (char *) str);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:134:17:  [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((char *) newStr, text);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:135:17:  [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((char *) newStr, arrow);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:29:9:  [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.
#define snprintf sprintf_s
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:55:13:  [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 ((ctx)->errbuf, (ctx)->errbuf_size, __VA_ARGS__);  \
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:70:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(stderr, opterrmsg);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:484:13:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
            vsprintf (buffer,format, args);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1087:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightColor, "%sColor", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1088:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightTransform, "%sTransform", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1089:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightInverseTransform, "%sInverseTransform", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1090:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightConstantAttenuation, "%sConstantAttenuation", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1091:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightLinearAttenuation, "%sLinearAttenuation", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1092:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightQuadraticAttenuation, "%sQuadraticAttenuation", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1093:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightFallOffAngle, "%sFallOffAngle", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1094:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        sprintf(lightFallOffExponent, "%sFallOffExponent", lightIndexCStr);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1118:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(varyingLightDirection, "v_%sDirection", lightIndexCStr);
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:88:3:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
		tmpnam(filename);
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:117:3:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
		tmpnam(filename);
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:73:2:  [3] (tmpfile) tmpnam:
  Temporary file race condition (CWE-377).
	tmpnam(filename);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/gtest.h:866:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  void ShuffleTests(internal::Random* random);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h:1647:27:  [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.
  const char* const env = getenv(name);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h:1650:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv(name);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-internal-inl.h:302:37:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void ShuffleRange(internal::Random* random, int begin, int end,
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-internal-inl.h:323:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-internal-inl.h:324:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-internal-inl.h:774:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  internal::Random* random() { return &random_; }
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:2463:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void TestCase::ShuffleTests(internal::Random* random) {
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:2464:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  Shuffle(random, &test_indices_);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:4215:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random()->Reseed(random_seed_);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:4486:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:4489:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:4494:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    test_cases_[i]->ShuffleTests(random());
data/collada2gltf-20140924/dependencies/misc/getopt.c:63:1:  [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(nargc, nargv, ostr)
data/collada2gltf-20140924/dependencies/misc/getopt.h:91:16:  [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_API int getopt_long __P((int, char * const *, const char *,
data/collada2gltf-20140924/dependencies/misc/getopt.h:107:16:  [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_API int getopt __P((int, char * const *, const char *));
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:88:14:  [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.
__weak_alias(getopt,_getopt)
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:100:14:  [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.
__weak_alias(getopt_long,_getopt_long)
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:107:29:  [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 IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL)
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:364:1:  [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(nargc, nargv, options)
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:397:1:  [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(nargc, nargv, options, long_options, idx)
data/collada2gltf-20140924/main.cpp:154:18:  [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.
    while ((ch = getopt_long(argc, argv, "z:f:o:b:a:idpl:c:m:vhsre", opt_options, 0)) != -1) {
data/collada2gltf-20140924/COLLADA2GLTFWriter.cpp:1332: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(ptrDst, ptrSrc , meshAttribute->elementByteLength());
data/collada2gltf-20140924/GLTF/GLTFAccessorCache.cpp:11: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(m_pData, pData, m_length);
data/collada2gltf-20140924/GLTF/GLTFAccessorCache.cpp:17: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(m_pData, rhs.m_pData, m_length);
data/collada2gltf-20140924/GLTF/GLTFAsset.cpp:315: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.
            char buffer[1000];
data/collada2gltf-20140924/GLTF/GLTFAsset.cpp:841: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.
            char cwd[1024];
data/collada2gltf-20140924/GLTF/GLTFAsset.cpp:1004: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.
            char pad[3];
data/collada2gltf-20140924/GLTF/GLTFOutputStream.cpp:49: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).
		fout->open(this->_outputPath.c_str(), ios::out | ios::ate | ios::binary);
data/collada2gltf-20140924/GLTF/GLTFUtils.h:49: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* fd = fopen(filename.c_str(), mode);        
data/collada2gltf-20140924/GLTF/GLTFWriter.cpp:69: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).
        this->_fd = fopen(path.c_str(), "w");
data/collada2gltf-20140924/JSON/JSONNumber.cpp:40: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(this->_value, &value, sizeof(unsigned int));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:46: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(this->_value, &value, sizeof(int));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:53: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(this->_value, &value, sizeof(double));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:60: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(this->_value, &value, sizeof(bool));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:71: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(&value, this->_value, sizeof(unsigned int));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:95: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(&value, this->_value, sizeof(int));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:119: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(&value, this->_value, sizeof(double));
data/collada2gltf-20140924/JSON/JSONNumber.cpp:144: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(&value, this->_value, sizeof(bool));
data/collada2gltf-20140924/JSON/JSONObject.cpp:96:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        FILE * file = fopen(filepath, "rb");
data/collada2gltf-20140924/convert/animationConverter.h:266:21:  [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(rotations + (i * 4), axisAngle, sizeof(float) * 4);
data/collada2gltf-20140924/convert/meshConverter.cpp:63: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(copiedData, sourceData, sourceSize);
data/collada2gltf-20140924/convert/meshConverter.cpp:74: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(copiedData, sourceData, sourceSize);
data/collada2gltf-20140924/convert/meshConverter.cpp:85: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(copiedData, sourceData, sourceSize);
data/collada2gltf-20140924/dependencies/json/example/condense/condense.cpp:16: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 readBuffer[65536];
data/collada2gltf-20140924/dependencies/json/example/condense/condense.cpp:20: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 writeBuffer[65536];
data/collada2gltf-20140924/dependencies/json/example/pretty/pretty.cpp:14: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 readBuffer[65536];
data/collada2gltf-20140924/dependencies/json/example/pretty/pretty.cpp:18: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 writeBuffer[65536];
data/collada2gltf-20140924/dependencies/json/example/prettyauto/prettyauto.cpp:27: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 readBuffer[65536];
data/collada2gltf-20140924/dependencies/json/example/prettyauto/prettyauto.cpp:32: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 writeBuffer[65536];
data/collada2gltf-20140924/dependencies/json/example/tutorial/tutorial.cpp:26: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 buffer[sizeof(json)];
data/collada2gltf-20140924/dependencies/json/example/tutorial/tutorial.cpp:27: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(buffer, json, sizeof(json));
data/collada2gltf-20140924/dependencies/json/example/tutorial/tutorial.cpp:107: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 buffer[10];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/allocators.h:183:10:  [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 memcpy(newBuffer, originalPtr, originalSize);
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:167: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(this, &rhs, sizeof(GenericValue));
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:571: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 padding[4];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:575: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 padding2[4];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:579: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 padding[4];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:583: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 padding2[4];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:629: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(data_.a.elements, values, count * sizeof(GenericValue));
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:637: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(data_.o.members, members, count * sizeof(Member));
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:655: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((void*)data_.s.str, s, length);
data/collada2gltf-20140924/dependencies/json/include/rapidjson/document.h:661: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(this, &rhs, sizeof(GenericValue));
data/collada2gltf-20140924/dependencies/json/include/rapidjson/reader.h:103:15:  [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 const char whitespace[16] = " \n\r\t";
data/collada2gltf-20140924/dependencies/json/include/rapidjson/reader.h:128:15:  [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 const char whitespaces[4][17] = {
data/collada2gltf-20140924/dependencies/json/include/rapidjson/reader.h:404:16:  [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 const char escape[256] = {
data/collada2gltf-20140924/dependencies/json/include/rapidjson/writer.h:121: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 buffer[10];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/writer.h:143: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 buffer[20];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/writer.h:158: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 buffer[100];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/writer.h:170:16:  [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 const char hexDigits[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
data/collada2gltf-20140924/dependencies/json/include/rapidjson/writer.h:171:16:  [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 const char escape[256] = {
data/collada2gltf-20140924/dependencies/json/test/perftest/perftest.h:39: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 *fp = fopen(filename_ = "data/sample.json", "rb");
data/collada2gltf-20140924/dependencies/json/test/perftest/perftest.h:41:9:  [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(filename_ = "../../bin/data/sample.json", "rb");
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:30: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(temp_, json_, length_);
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:92: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 *fp = fopen(filename_, "rb");
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:112: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).
		int fd = open(filename_, O_RDONLY);
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:141: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).
		int fd = open(filename_, O_RDONLY);
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:46: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(temp_, json_, length_ + 1);
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:56: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(temp_, json_, length_ + 1);
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:87: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(temp_, json_, length_ + 1);
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:129: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(temp_, json_, length_ + 1);
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:260: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 *fp = fopen(filename_, "rb");
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:261: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 buffer[65536];
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:271: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 *fp = fopen(filename_, "rb");
data/collada2gltf-20140924/dependencies/json/test/perftest/rapidjsontest.cpp:272: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 buffer[65536];
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:83: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 buffer[100];
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:89:11:  [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.
				len = sprintf(num, "%I64d", YAJL_GET_INTEGER(v));
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:91:11:  [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.
				len = sprintf(num, "%lld", YAJL_GET_INTEGER(v));
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:95:11:  [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.
				len = sprintf(num, "%g", YAJL_GET_DOUBLE(v));
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:21: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 buffer[1024];
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:23: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 *fp = fopen(buffer, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:26:9:  [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(buffer, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:32:44:  [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 *fp = appendPath ? Open(filename) : fopen(filename, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:51: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 buffer[16];
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:69: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 buffer[16];
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:87: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 filename[L_tmpnam];
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:90: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 *fp = fopen(filename, "wb");
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:91: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 buffer[16];
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:116: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 filename[L_tmpnam];
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:119: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 *fp = fopen(filename, "wb");
data/collada2gltf-20140924/dependencies/json/test/unittest/encodedstreamtest.cpp:120: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 buffer[16];
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:11: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 *fp = fopen(filename_ = "data/sample.json", "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:13:9:  [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(filename_ = "../../bin/data/sample.json", "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:54: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 *fp = fopen(filename_, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:56: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 buffer[65536];
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:72: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 filename[L_tmpnam];
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:75: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 *fp = fopen(filename, "wb");
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:76: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 buffer[65536];
data/collada2gltf-20140924/dependencies/json/test/unittest/filestreamtest.cpp:84:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fp = fopen(filename, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:8: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 *fp = fopen(filename, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:10: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(filename, "rb");
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:25: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 filename[256];
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:32: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(filename, "jsonchecker/fail%d.json", i);
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:36: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(filename, "../../bin/jsonchecker/fail%d.json", i);
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:52: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(filename, "jsonchecker/pass%d.json", i);
data/collada2gltf-20140924/dependencies/json/test/unittest/jsoncheckertest.cpp:56: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(filename, "../../bin/jsonchecker/pass%d.json", i);
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:137: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 n1e308[310];	// '1' followed by 308 '0'
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:151: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 buffer[1001]; \
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:163: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 n1e309[311];	// '1' followed by 309 '0'
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:187: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((void*)str_, str, (length + 1) * sizeof(typename Encoding::Ch));
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:413: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 buffer[1001]; \
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:517: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 buffer[1001]; \
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:548: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 buffer[1001]; \
data/collada2gltf-20140924/dependencies/json/test/unittest/unittest.h:29: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(buffer, str, bufferSize);
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:549: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 name1[10];
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:550: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(name1, "%d", i);
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:556: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 name2[10];
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:557: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(name2, "%d", j);
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:568: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 name1[10];
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:569: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(name1, "%d", i);
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:572: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 name2[10];
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:573: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(name2, "%d", j);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h:1621:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen(path, mode);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-string.h:304: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(str, buffer, a_length);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-death-test.cc:274: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 buffer[256];
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-death-test.cc:693: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 executable_path[_MAX_PATH + 1];  // NOLINT
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-filepath.cc:106: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-filepath.cc:109: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc:416: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(buffer, regex, len);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc:494: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 temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc:495: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 temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc:513:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:69: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 text[5] = "";
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:863:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:866:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1354: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 error_text[kBufSize] = { '\0' };
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1522: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 buffer[32];  // CodePointToUtf8 requires a buffer this big.
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1704: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 buffer[4096];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/include/json/value.h:612: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 *keys_[itemPerLink];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/jsontestrunner/main.cpp:12:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *file = fopen( path, "rb" );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/jsontestrunner/main.cpp:58:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char buffer[16];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/jsontestrunner/main.cpp:59:13:  [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( buffer, "[%d]", index );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/jsontestrunner/main.cpp:105:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *factual = fopen( actual.c_str(), "wt" );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/jsontestrunner/main.cpp:127:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   FILE *fout = fopen( rewritePath.c_str(), "wt" );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_reader.cpp:629: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( buffer, token.start_, length );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_reader.cpp:851: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 buffer[18+16+16+1];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_reader.cpp:852: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( buffer, "Line %d, Column %d", line, column );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_value.cpp:86: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( newString, value, length );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp:44: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 buffer[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp:59: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 buffer[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp:68: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 buffer[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp:72: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(buffer, "%#.16g", value); 
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp:258: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 buffer[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp:259: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( buffer, "%d", value );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp:267: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 buffer[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp:268: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( buffer, "%u", value );
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp:276: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 buffer[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp:277: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( buffer, "%16g", value );
data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajsondec.c:416: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 (ds->escStart, oldStart, escLen * sizeof(wchar_t));
data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajsondec.c:794:2:  [2] (buffer) wchar_t:
  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.
	wchar_t escBuffer[(JSON_MAX_STACK_BUFFER_SIZE / sizeof(wchar_t))];
data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajsonenc.c:114: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 (enc->start, oldStart, offset);
data/collada2gltf-20140924/dependencies/json/thirdparty/ultrajson/ultrajsonenc.c:493:18:  [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.
		enc->offset += sprintf(str, "%e", neg ? -value : value);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl.c:67: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((void *) &(hand->alloc), (void *) afs, sizeof(yajl_alloc_funcs));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_buf.c:76: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(buf->data + buf->used, data, len);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_encode.c:40: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 hexBuf[7];
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_encode.c:124: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.
            char utf8Buf[5];
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:118: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((void *) &(g->alloc), (void *) afs, sizeof(yajl_alloc_funcs));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:202: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 i[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:204:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(i, "%lld", number);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:220: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 i[32];
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:224:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(i, "%.20g", number);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_lex.c:138: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.
static const char charLookupTable[256] =
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:68: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 text[72];
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:93:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat((char *) str, " error");
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:95:13:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
            strcat((char *) str, ": ");
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:286: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(v->u.string, string, string_length);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:307: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(v->u.number.r, string, string_length);
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:57:19:  [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.
GETOPT_API extern char opterrmsg[128];
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:58: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 opterrmsg[128]; /* last error message is stored here */
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:194: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 **) nargv)[pos] = nargv[cstart];
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:196: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 **)nargv)[cstart] = swap;
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcBinaryStream.h:358:51:  [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 * fout = fopen(fileName, "wb");
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcBinaryStream.h:369:50:  [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 * fin = fopen(fileName, "rb");
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcBinaryStream.h:390:37:  [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_stream.GetBuffer(), buffer, bufferSize);
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcTriangleFans.h:227:45:  [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_vertices, tmp, sizeof(long) * m_numVertices);
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcTriangleFans.h:243:45:  [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_sizeTFAN, tmp, sizeof(long) * m_numTFANs);
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcVector.h:65:45:  [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, m_buffer, m_size * sizeof(T) );
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/inc/o3dgcVector.h:83:45:  [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, m_buffer, m_size * sizeof(T) );
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcTriangleFans.cpp:243:25:  [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).
        g_fileDebugTF = fopen("SaveIntACEGC_new.txt", "w");
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcTriangleFans.cpp:442:25:  [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).
        g_fileDebugTF = fopen("Load_new.txt", "w");
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_decode_lib/src/o3dgcDynamicVectorDecoder.cpp:156:29:  [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).
        g_fileDebugDVCDec = fopen("dv_dec.txt", "w");
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_encode_lib/src/o3dgcDynamicVectorEncoder.cpp:184:28:  [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).
        g_fileDebugDVEnc = fopen("dv_enc.txt", "w");
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:312:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE * fout = fopen(outFileName.c_str(), "wb");
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:382:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE * fin = fopen(fileName.c_str(), "rb");
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:567:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE * fout = fopen(outFileName.c_str(), "wb");
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:609:26:  [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).
                qcoord = atoi(argv[i]);
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:617:27:  [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).
                qnormal = atoi(argv[i]);
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:625:29:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                qtexCoord = atoi(argv[i]);
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:701:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE * fid = fopen(fileName.c_str(), "r");
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:705:9:  [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 buffer[BufferSize];
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:816:38:  [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).
                    if (pch) ip[k] = atoi(pch) - 1;
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:825:43:  [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).
                        if (pch)  it[k] = atoi(pch) - 1;
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:834:43:  [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).
                        if (pch)  in[k] = atoi(pch) - 1;
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:912: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).
    fout.open(fileName.c_str());
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:1024: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).
    fout.open(fileName.c_str());
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:1049: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).
    fin.open(fileName.c_str());
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:1113: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).
    fout.open(fileName.c_str());
data/collada2gltf-20140924/dependencies/o3dgc/src/test/src/main.cpp:1145: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).
    fin.open(fileName.c_str());
data/collada2gltf-20140924/extensions/o3dgc-compression/GLTF-Open3DGC.cpp:116: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).
        fout.open(fileName.c_str());
data/collada2gltf-20140924/helpers/geometryHelpers.cpp:259:17:  [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(ptrDst, ptrSrc , bufferInfos->elementByteLength);
data/collada2gltf-20140924/helpers/geometryHelpers.cpp:542: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(&targetBufferPtr[vertexAttributeByteSize * remappedIndex], value, vertexAttributeByteSize);
data/collada2gltf-20140924/main.cpp:123:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (FILE * file = fopen(filename, "r")) {
data/collada2gltf-20140924/main.cpp:204:43:  [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).
                        useDefaultLight = atoi(optarg) != 0;
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:72:18:  [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).
            fin->open(path, ios::in | ios::binary);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:481: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.
            char buffer[1000];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1077:25:  [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 lightIndexCStr[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1078:25:  [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 lightColor[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1079:25:  [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 lightTransform[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1080:25:  [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 lightInverseTransform[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1081:25:  [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 lightConstantAttenuation[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1082:25:  [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 lightLinearAttenuation[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1083:25:  [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 lightQuadraticAttenuation[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1084:25:  [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 lightFallOffAngle[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1085:25:  [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 lightFallOffExponent[100];
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1086:25:  [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(lightIndexCStr, "light%d", (int)lightIndex);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:1117:29:  [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 varyingLightDirection[100];
data/collada2gltf-20140924/dependencies/json/include/rapidjson/filestream.h:33:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int c = fgetc(fp_);
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:56: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).
TEST_F(Platform, strlen) {
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:58: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).
		size_t l = strlen(json_);
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:78: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).
		size_t l = strlen(whitespace_);
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:100:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TEST_F(Platform, read) {
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:110:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
TEST_F(Platform, read) {
data/collada2gltf-20140924/dependencies/json/test/perftest/platformtest.cpp:114:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ASSERT_EQ(length_, read(fd, temp_, length_));
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:79:77:  [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).
	case yajl_t_string:	return yajl_gen_string(g, (unsigned char*)v->u.string, strlen(v->u.string));
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:98: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).
				len = strlen(buffer);
data/collada2gltf-20140924/dependencies/json/test/perftest/yajltest.cpp:109:70:  [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).
			status = yajl_gen_string(g, (unsigned char *)v->u.object.keys[i], strlen(v->u.object.keys[i]));
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:414:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buffer, str, 1000); \
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:518:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buffer, str, 1000); \
data/collada2gltf-20140924/dependencies/json/test/unittest/readertest.cpp:549:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(buffer, str, 1000); \
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:347: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).
	w.SetString(s, (SizeType)strlen(s), allocator);
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:552:31:  [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 name(name1, (SizeType)strlen(name1), allocator);
data/collada2gltf-20140924/dependencies/json/test/unittest/valuetest.cpp:559:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			Value name(name2, (SizeType)strlen(name2), allocator);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h:1610:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-port.h:1632:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/include/gtest/internal/gtest-string.h:200:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ConstructNonNull(a_c_str, strlen(a_c_str));
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc:150:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t full_regex_len = strlen(regex) + 10;
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-port.cc:404: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).
  const size_t len = strlen(regex);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:308:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, strlen(s), os);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest-printers.cc:325:33:  [1] (buffer) wcslen:
  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).
    PrintWideCharsAsStringTo(s, wcslen(s), os);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:851: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).
                    NULL : CloneString(c_str, strlen(c_str));
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:861: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).
  const int length = strlen(ansi);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1506:34:  [1] (buffer) wcslen:
  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).
    num_chars = static_cast<int>(wcslen(str));
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1671: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).
  const size_t this_len = strlen(c_str());
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1672:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t suffix_len = strlen(suffix);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1684: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).
  const size_t this_len = strlen(c_str());
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:1685:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t suffix_len = strlen(suffix);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:3213:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      segment = next_segment + strlen("]]>");
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:3442: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).
  result.reserve(strlen(str) + 1);
data/collada2gltf-20140924/dependencies/json/thirdparty/gtest/src/gtest.cc:4547:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t prefix_len = strlen(prefix);
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_value.cpp:84:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
         length = (unsigned int)strlen(value);
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp:74: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* ch = buffer + strlen(buffer) - 1;
data/collada2gltf-20140924/dependencies/json/thirdparty/jsoncpp/src/lib_json/json_writer.cpp:119: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 maxsize = strlen(value)*2 + 3; // allescaped+quotes+NULL
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_encode.c:69: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).
            print(ctx, escaped, (unsigned int)strlen(escaped));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_encode.c:171: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).
            yajl_buf_append(buf, unescaped, (unsigned int)strlen(unescaped));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:151:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                         (unsigned int)strlen(g->indentString));        \
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:205:39:  [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).
    g->print(g->ctx, i, (unsigned int)strlen(i));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:225:39:  [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).
    g->print(g->ctx, i, (unsigned int)strlen(i));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    g->print(g->ctx, "null", strlen("null"));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_gen.c:278:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    g->print(g->ctx, val, (unsigned int)strlen(val));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:83: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).
        memneeded += strlen(errorType);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:84: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).
        memneeded += strlen(" error");
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:86:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memneeded += strlen(": ");
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:87:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            memneeded += strlen(errorText);
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:98:9:  [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((char *) str, "\n");
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:128: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).
                YA_MALLOC(&(hand->alloc), (unsigned int)(strlen((char *) str) +
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:129: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).
                                                         strlen((char *) text) +
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_parser.c:130: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).
                                                         strlen(arrow) + 1));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:315:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                       strlen(v->u.number.r));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:437: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).
                        strlen (input));
data/collada2gltf-20140924/dependencies/json/thirdparty/yajl/src/yajl_tree.c:445:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                                        strlen(input)));
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:440: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).
			current_argv_len = strlen(current_argv);
data/collada2gltf-20140924/dependencies/misc/getopt_long.c:448:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(long_options[i].name) ==
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcArithmeticCodec.cpp:100:7:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      getchar();
data/collada2gltf-20140924/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcArithmeticCodec.cpp:566:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((file_byte = getc(code_file)) == EOF)
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:54:50:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ((std::istream*)png_get_io_ptr(pngPtr))->read((char*)data, length);
data/collada2gltf-20140924/shaders/commonProfileShaders.cpp:79:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        source->read((char*)pngsig, PNGSIGSIZE);

ANALYSIS SUMMARY:

Hits = 339
Lines analyzed = 70321 in approximately 1.87 seconds (37691 lines/second)
Physical Source Lines of Code (SLOC) = 47606
Hits@level = [0] 180 [1]  60 [2] 214 [3]  25 [4]  40 [5]   0
Hits@level+ = [0+] 519 [1+] 339 [2+] 279 [3+]  65 [4+]  40 [5+]   0
Hits/KSLOC@level+ = [0+] 10.902 [1+] 7.12095 [2+] 5.86061 [3+] 1.36537 [4+] 0.84023 [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.