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/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/resource.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_GL_Win.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/DrawbotBot.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/xcode/OpenColorABI.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/DrawbotBot.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_Context.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/vc/vc9/OpenColorABI.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_GL.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_Context.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/mac/OpenColorIO_AE_MonitorProfileChooser_Controller.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/mac/OpenColorIO_AE_Menu.h
Examining data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_Dialogs.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLookTransform/OCIOLookTransform.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLookTransform/OCIOLookTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIODisplay/OCIODisplay.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIODisplay/OCIODisplay.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOCDLTransform/OCIOCDLTransform.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOCDLTransform/OCIOCDLTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLogConvert/OCIOLogConvert.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLogConvert/OCIOLogConvert.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOColorSpace/OCIOColorSpace.h
Examining data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOColorSpace/OCIOColorSpace.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyUtil.h
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyConstants.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyUtil.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyAllocationTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyBaker.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyCDLTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyColorSpace.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyColorSpaceTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyConfig.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyContext.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyDisplayTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyExponentTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyFileTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyGpuShaderDesc.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyGroupTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyLogTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyLook.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyLookTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyMain.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyMatrixTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyProcessor.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyProcessorMetadata.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/pyglue/PyTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/ExponentOps.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Caching.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Op.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Processor.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Display.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatCDL.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ParseUtils.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ScanlineHelper.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/GroupTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatCCC.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ExponentTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatSpi1D.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/AllocationTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatSpi3D.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Context.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatVF.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/NoOps.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/LogOps.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/GpuShaderDesc.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/PathUtils.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Baker.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/NoOps.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/GpuShaderUtils.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Processor.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/UnitTest.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ParseUtils.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/OpOptimizers.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/SSE.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Logging.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/LogTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ImagePacking.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ExponentOps.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatTruelight.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/AllocationOp.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/LookTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasLook.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/TruelightOp.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/PrivateTypes.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/TruelightTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/HashUtils.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/GpuShaderUtils.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/pystring/pystring.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/pystring/pystring.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/LogOps.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ImageDesc.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/LookParse.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/UnitTest.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Display.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ScanlineHelper.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/OpBuilders.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/HashUtils.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Transform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatSpiMtx.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ImagePacking.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatCC.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormat3DL.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Exception.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/LookParse.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/PathUtils.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasItx.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Mutex.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileTransform.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/Look.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatCSP.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatPandora.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/DisplayTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Op.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/TruelightOp.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/md5/md5.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/md5/md5.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Logging.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/ColorSpaceTransform.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasCube.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/ColorSpace.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/AllocationOp.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/FileFormatHDL.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/core/Platform.h
Examining data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIUtil.h
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIGlobals.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIProcessor.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIColorSpace.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIContext.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIGpuShaderDesc.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNITransforms.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIBaker.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIUtil.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIImageDesc.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNIConfig.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/JNILook.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/jniglue/tests/org/OpenColorIO/test.cc
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/win/resource1.h
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS_Dialog.h
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS_Version.h
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.h
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS_Terminology.h
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS_Context.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/mac/OpenColorIO_PS_Dialog_Controller.h
Examining data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS_Context.h
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ociocheck/main.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ociodisplay/main.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ocioconvert/main.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ociolutimage/main.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ociobakelut/ocioicc.h
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ociobakelut/ocioicc.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/ociobakelut/main.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/share/strutil.h
Examining data/opencolorio-1.1.1~dfsg0/src/apps/share/pystring.h
Examining data/opencolorio-1.1.1~dfsg0/src/apps/share/argparse.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/share/strutil.cpp
Examining data/opencolorio-1.1.1~dfsg0/src/apps/share/argparse.h
Examining data/opencolorio-1.1.1~dfsg0/src/apps/share/pystring.cpp
Examining data/opencolorio-1.1.1~dfsg0/export/OpenColorIO/OpenColorIO.h
Examining data/opencolorio-1.1.1~dfsg0/export/OpenColorIO/OpenColorTransforms.h
Examining data/opencolorio-1.1.1~dfsg0/export/OpenColorIO/OpenColorTypes.h
Examining data/opencolorio-1.1.1~dfsg0/export/PyOpenColorIO/PyOpenColorIO.h
Examining data/opencolorio-1.1.1~dfsg0/share/cmake/TestForDDImageVersion.cxx

FINAL RESULTS:

data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:1065:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(p, dependency.c_str());
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:133:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->path, in_arb_data->path);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:134:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->relative_path, in_arb_data->relative_path);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:136:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->input, in_arb_data->input);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:137:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->output, in_arb_data->output);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:138:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->transform, in_arb_data->transform);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:139:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->device, in_arb_data->device);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:140:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(out_arb_data->look, in_arb_data->look);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/vc/vc9/OpenColorABI.h:63:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#error OCIO needs gcc 4 or later to get access to <tr1/memory> (or specify USE_BOOST_PTR instead)
data/opencolorio-1.1.1~dfsg0/src/aftereffects/xcode/OpenColorABI.h:63:41:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#error OCIO needs gcc 4 or later to get access to <tr1/memory> (or specify USE_BOOST_PTR instead)
data/opencolorio-1.1.1~dfsg0/src/apps/share/argparse.h:47:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        __attribute__ ((format (printf, fmtarg_pos, vararg_pos) ))
data/opencolorio-1.1.1~dfsg0/src/apps/share/strutil.cpp:61:22:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
        int needed = vsnprintf (buf, size, fmt, ap);
data/opencolorio-1.1.1~dfsg0/src/apps/share/strutil.h:65:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        __attribute__ ((format (printf, fmtarg_pos, vararg_pos) ))
data/opencolorio-1.1.1~dfsg0/src/core/Platform.h:103: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/opencolorio-1.1.1~dfsg0/src/core/Platform.h:105:9:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
#define sscanf sscanf_s
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:588:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                strcpy(path_buf, dialogParams.config.c_str());
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:637:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                    char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:1015:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:73:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_Context.cpp:323:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *file = getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_Context.cpp:415:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        char *file = getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:353:39:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                    char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:762:31:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:420:35:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
                char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/apps/ociobakelut/main.cpp:270:17:  [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.
        else if(getenv("OCIO"))
data/opencolorio-1.1.1~dfsg0/src/apps/ociobakelut/main.cpp:273:70:  [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.
                std::cout << "[OpenColorIO INFO]: Loading $OCIO " << getenv("OCIO") << std::endl;
data/opencolorio-1.1.1~dfsg0/src/apps/ociocheck/main.cpp:92:17:  [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.
        else if(getenv("OCIO"))
data/opencolorio-1.1.1~dfsg0/src/apps/ociocheck/main.cpp:94:46:  [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.
            std::cout << "Loading $OCIO " << getenv("OCIO") << std::endl;
data/opencolorio-1.1.1~dfsg0/src/apps/ociodisplay/main.cpp:810:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if(getenv("OCIO"))
data/opencolorio-1.1.1~dfsg0/src/apps/ociodisplay/main.cpp:812:50:  [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.
            std::cout << "\tconfiguration = " << getenv("OCIO") << std::endl;
data/opencolorio-1.1.1~dfsg0/src/apps/ociolutimage/main.cpp:101:17:  [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.
        else if(getenv("OCIO"))
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:267:23:  [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.
            Platform::getenv(OCIO_ACTIVE_DISPLAYS_ENVVAR, activeDisplays);
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:274:23:  [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.
            Platform::getenv(OCIO_ACTIVE_VIEWS_ENVVAR, activeViews);
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:364:19:  [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.
        Platform::getenv(OCIO_CONFIG_ENVVAR, file);
data/opencolorio-1.1.1~dfsg0/src/core/Logging.cpp:61:23:  [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.
            Platform::getenv(OCIO_LOGGING_LEVEL_ENVVAR, levelstr);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:19:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        void getenv (const char* name, std::string& value)
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:44:33:  [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* val = ::getenv(name);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:61:25:  [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.
OIIO_ADD_TEST(Platform, getenv)
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:65:25:  [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.
        OCIO::Platform::getenv("NotExistingEnvVariable", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:71:25:  [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.
        OCIO::Platform::getenv("PATH", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:77:25:  [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.
        OCIO::Platform::getenv("PATH", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:78:25:  [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.
        OCIO::Platform::getenv("NotExistingEnvVariable", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:84:25:  [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.
        OCIO::Platform::getenv("NotExistingEnvVariable", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:85:25:  [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.
        OCIO::Platform::getenv("PATH", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:96:25:  [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.
        OCIO::Platform::getenv("MY_DUMMY_ENV", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:106:25:  [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.
        OCIO::Platform::getenv("MY_DUMMY_ENV", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:116:25:  [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.
        OCIO::Platform::getenv("MY_DUMMY_ENV", env);
data/opencolorio-1.1.1~dfsg0/src/core/Platform.h:160: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.
    void getenv (const char* name, std::string& value);
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:325:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *file = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:634:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            char *envFile = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:428:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			char *envFile = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:490:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
			char *envFile = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:851:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
				char *envFile = std::getenv("OCIO");
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:125: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            path[ARB_PATH_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:126: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            relative_path[ARB_PATH_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:127: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            input[ARB_SPACE_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:128: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            output[ARB_SPACE_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:129: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            transform[ARB_SPACE_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:130: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            device[ARB_SPACE_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:131: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            look[ARB_SPACE_LEN+1]; // not used currently
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:171: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                    path[ARB_PATH_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.h:172: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                    relative_path[ARB_PATH_LEN+1];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:537: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 c_path[AEGP_MAX_PATH_SIZE];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:610: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 c_path[ARB_PATH_LEN + 1] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:946: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 path[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:962: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 monitor_path[256] = {'\0'};
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:85: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 combined_entry[512];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:88: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 seperate_entries[512];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:136: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 my_lpstrFilter[1024];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:176: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 my_lpstrFilter[512];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:281: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 monitor_profile_path[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:286: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 profile_directory[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:328:21:  [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 profile_description[256];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:429:17:  [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 appdata_path[MAX_PATH];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:636: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 appdata_path[MAX_PATH];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:696: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 appdata_path[MAX_PATH];
data/opencolorio-1.1.1~dfsg0/src/apps/ociocheck/main.cpp:261:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            output.open(outputconfig.c_str());
data/opencolorio-1.1.1~dfsg0/src/apps/ocioconvert/main.cpp:136: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).
        f->open(inputimage, spec);
data/opencolorio-1.1.1~dfsg0/src/apps/ocioconvert/main.cpp:331: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).
        f->open(outputimage, spec);
data/opencolorio-1.1.1~dfsg0/src/apps/ociodisplay/main.cpp:122:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            f->open(filename, spec);
data/opencolorio-1.1.1~dfsg0/src/apps/ociolutimage/main.cpp:133:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f->open(outputfile, spec);
data/opencolorio-1.1.1~dfsg0/src/apps/ociolutimage/main.cpp:158:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f->open(inputfile, spec);
data/opencolorio-1.1.1~dfsg0/src/apps/ociolutimage/main.cpp:380:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    output.open(filename.c_str());
data/opencolorio-1.1.1~dfsg0/src/apps/share/argparse.cpp:222:30:  [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).
        *(int *)m_param[i] = atoi(argv);
data/opencolorio-1.1.1~dfsg0/src/apps/share/strutil.cpp:49: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 stackbuf[1024];
data/opencolorio-1.1.1~dfsg0/src/core/AllocationTransform.cpp:132: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(vars,
data/opencolorio-1.1.1~dfsg0/src/core/AllocationTransform.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(&getImpl()->vars_[0],
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:590: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(sop_, rhs.sop_, sizeof(float)*9);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:689: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(&getImpl()->sop_[0], rgb, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:694: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(rgb, &getImpl()->sop_[0], sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:699: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(&getImpl()->sop_[3], rgb, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:704: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(rgb, &getImpl()->sop_[3], sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:709: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(&getImpl()->sop_[6], rgb, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:714: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(rgb, &getImpl()->sop_[6], sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:719: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(&getImpl()->sop_, vec9, sizeof(float)*9);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:724: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(vec9, &getImpl()->sop_, sizeof(float)*9);
data/opencolorio-1.1.1~dfsg0/src/core/ColorSpace.cpp:203: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(vars,
data/opencolorio-1.1.1~dfsg0/src/core/ColorSpace.cpp:215: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(&getImpl()->allocationVars_[0],
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:376:32:  [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).
        config->getImpl()->io_.open(istream, config);
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:391:32:  [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).
        config->getImpl()->io_.open(istream, config, filename);
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:398:32:  [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).
        config->getImpl()->io_.open(istream, config);
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:1256: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(c3, &getImpl()->defaultLumaCoefs_[0], 3*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:1261: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(&getImpl()->defaultLumaCoefs_[0], c3, 3*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentOps.cpp:125: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(m_exp4, exp4, 4*sizeof(double));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentOps.cpp:297: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(tmp, source, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentOps.cpp:358: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(tmp, source, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentOps.cpp:373: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(tmp2, source, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentTransform.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_, rhs.value_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentTransform.cpp:116:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if(vec4) memcpy(getImpl()->value_, vec4, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/ExponentTransform.cpp:121:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if(vec4) memcpy(vec4, getImpl()->value_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/FileFormat3DL.cpp:229:17:  [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 lineBuffer[MAX_LINE_SIZE];
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatCSP.cpp:187: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( retval->stims, data->stims, sizeof(float) * data->length );
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatCSP.cpp:510:32:  [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).
                int points1D = atoi (line.c_str());
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasCube.cpp:268: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(cachedFile->lut1D->from_min, domain_min, 3*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasCube.cpp:269: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(cachedFile->lut1D->from_max, domain_max, 3*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasCube.cpp:310: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(cachedFile->lut3D->from_min, domain_min, 3*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasCube.cpp:311: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(cachedFile->lut3D->from_max, domain_max, 3*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatIridasLook.cpp: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 asciinums[8];
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatSpi1D.cpp:115: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 lineBuffer[MAX_LINE_SIZE];
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatSpi3D.cpp:106: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 lineBuffer[MAX_LINE_SIZE];
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatSpiMtx.cpp:101:17:  [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 lineBuffer[MAX_LINE_SIZE];
data/opencolorio-1.1.1~dfsg0/src/core/FileFormatVF.cpp:207: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(cachedFile->m44, &global_transform[0], 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/FileTransform.cpp:413:24:  [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).
            filestream.open(filepath.c_str(), std::ios_base::in);
data/opencolorio-1.1.1~dfsg0/src/core/HashUtils.cpp:55: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 printableResult[34];
data/opencolorio-1.1.1~dfsg0/src/core/LogOps.cpp:170: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(m_k, k, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/LogOps.cpp:171: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(m_m, m, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/LogOps.cpp:172: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(m_b, b, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/LogOps.cpp:173: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(m_base, base, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/LogOps.cpp:174: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(m_kb, kb, sizeof(float)*3);
data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp:933: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(&outputBuffer_cpu[0], &testValues[0], testValues.size()*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp:934: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(&outputBuffer_sse[0], &testValues[0], testValues.size()*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp:1020: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(color, reference, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp:1036: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(color, reference, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp:1051: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(color, reference, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut1DOp.cpp:1066: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(color, reference, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.cpp:791: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(color, reference, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.cpp:794: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(color, reference, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.cpp:837: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(color, reference, 12*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.cpp:845: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(color, reference, 12*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/Lut3DOp.cpp:853: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(color, reference, 12*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:263: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(m1, m1_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:264: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(m2, m2_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:290: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(v, v_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:320: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(m1, m1_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:321: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(v1, v1_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:322: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(m2, m2_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:323: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(v2, v2_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:348: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, m_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MathUtils.cpp:349: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(v, v_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:170: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(m_m44, m44, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:171: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(m_offset4, offset4, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:677: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(tmp, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:682: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(tmp2, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:710: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(tmp, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:715: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(tmp2, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:741: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(tmp, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:746: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(tmp2, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:772: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(tmp, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixOps.cpp:777: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(tmp2, &source[4*test], 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:69: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(matrix_, rhs.matrix_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:70: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(offset_, rhs.offset_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:140: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.
        if(m44) memcpy(m44, getImpl()->matrix_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:141: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.
        if(offset4) memcpy(offset4, getImpl()->offset_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:146: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.
        if(m44) memcpy(getImpl()->matrix_, m44, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:147: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.
        if(offset4) memcpy(getImpl()->offset_, offset4, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:152: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.
        if(m44) memcpy(getImpl()->matrix_, m44, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:157: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.
        if(m44) memcpy(m44, getImpl()->matrix_, 16*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:162: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.
        if(offset4) memcpy(getImpl()->offset_, offset4, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/MatrixTransform.cpp:167: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.
        if(offset4) memcpy(offset4, getImpl()->offset_, 4*sizeof(float));
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp:1793:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void OCIOYaml::open(std::istream& istream, ConfigRcPtr& c, const char* filename) const
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.h:40: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).
        void open(std::istream& istream, ConfigRcPtr& c, const char* filename = NULL) const;
data/opencolorio-1.1.1~dfsg0/src/core/PathUtils.cpp:151: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 path[MAXPATHLEN];
data/opencolorio-1.1.1~dfsg0/src/core/Processor.cpp:537: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(lut3d, &m_lut3D[0], sizeof(float) * 3 * lut3DNumPixels);
data/opencolorio-1.1.1~dfsg0/src/core/md5/md5.cpp:176: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(xbuf, data, 64);
data/opencolorio-1.1.1~dfsg0/src/core/md5/md5.cpp:350: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(pms->buf + offset, p, copy);
data/opencolorio-1.1.1~dfsg0/src/core/md5/md5.cpp:364: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(pms->buf, p, left);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOCDLTransform/OCIOCDLTransform.cpp:337:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (rOut != rIn) memcpy(rOut, rIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOCDLTransform/OCIOCDLTransform.cpp:338:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (gOut != gIn) memcpy(gOut, gIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOCDLTransform/OCIOCDLTransform.cpp:339:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (bOut != bIn) memcpy(bOut, bIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOColorSpace/OCIOColorSpace.cpp:286:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (rOut != rIn) memcpy(rOut, rIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOColorSpace/OCIOColorSpace.cpp:287:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (gOut != gIn) memcpy(gOut, gIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOColorSpace/OCIOColorSpace.cpp:288:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (bOut != bIn) memcpy(bOut, bIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIODisplay/OCIODisplay.cpp:427:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (rOut != rIn) memcpy(rOut, rIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIODisplay/OCIODisplay.cpp:428:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (gOut != gIn) memcpy(gOut, gIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIODisplay/OCIODisplay.cpp:429:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (bOut != bIn) memcpy(bOut, bIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIODisplay/OCIODisplay.cpp:430:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (aOut != aIn) memcpy(aOut, aIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.cpp:222:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (rOut != rIn) memcpy(rOut, rIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.cpp:223:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (gOut != gIn) memcpy(gOut, gIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.cpp:224:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (bOut != bIn) memcpy(bOut, bIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLogConvert/OCIOLogConvert.cpp:139:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (rOut != rIn) memcpy(rOut, rIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLogConvert/OCIOLogConvert.cpp:140:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (gOut != gIn) memcpy(gOut, gIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLogConvert/OCIOLogConvert.cpp:141:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (bOut != bIn) memcpy(bOut, bIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLookTransform/OCIOLookTransform.cpp:429:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (rOut != rIn) memcpy(rOut, rIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLookTransform/OCIOLookTransform.cpp:430:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (gOut != gIn) memcpy(gOut, gIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOLookTransform/OCIOLookTransform.cpp:431:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if (bOut != bIn) memcpy(bOut, bIn, sizeof(float)*rowWidth);
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:94: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(&dest[0], &src[0], 256);
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:508:17:  [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 file_path[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:651:17:  [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 file_path[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:676: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 appdata_path[MAX_PATH];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:104:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:119:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:138:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:161:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:180:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:223:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:245:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:272:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buf[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:452: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 temp_path[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:475: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 menu_string[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:656: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 toolTipString[256];
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:706: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 path[256] = { '\0' };
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:722: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 monitor_path[256] = {'\0'};
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:881: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 appdata_path[MAX_PATH];
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:652:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(seq_data->path, arb_data->path, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:653:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(seq_data->relative_path, arb_data->relative_path, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:667:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(seq_data->path, absolute_path.full_path().c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:668:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(seq_data->relative_path, absolute_path.relative_path(false).c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:674:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(seq_data->path, relative_path.full_path().c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:675:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(seq_data->relative_path, relative_path.relative_path(false).c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:686:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->path, seq_absolute_path.full_path().c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:687:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->relative_path, seq_absolute_path.relative_path(false).c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:693:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->path, seq_relative_path.full_path().c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE.cpp:694:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->relative_path, seq_relative_path.relative_path(false).c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:81:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->path, file, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:88:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->input, context.getInput().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:89:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->output, context.getOutput().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:90:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->transform, context.getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_ArbData.cpp:91:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->device, context.getDevice().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:635:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(arb_data->path, path.full_path().c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:636:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(arb_data->relative_path, path.relative_path(false).c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:638:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(seq_data->path, arb_data->path, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:639:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(seq_data->relative_path, arb_data->relative_path, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:663:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->input, seq_data->context->getInput().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:664:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->output, seq_data->context->getOutput().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:665:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->transform, seq_data->context->getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:666:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->device, seq_data->context->getDevice().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:685:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->transform, seq_data->context->getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:773:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->path, path.full_path().c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:774:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->relative_path, path.relative_path(false).c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:792:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->path, config.c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:793:17:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                strncpy(arb_data->relative_path, path.c_str(), ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:810:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(seq_data->path, arb_data->path, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:811:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(seq_data->relative_path, arb_data->relative_path, ARB_PATH_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:834:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->input, seq_data->context->getInput().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:835:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->output, seq_data->context->getOutput().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:836:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->transform, seq_data->context->getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:837:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->device, seq_data->context->getDevice().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:856:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->transform, seq_data->context->getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:909:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(arb_data->transform, seq_data->context->getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1017:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->input, selected_item.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1021:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->output, selected_item.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1116:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->input, color_space.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1120:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->output, color_space.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1129:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->input, color_space.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1133:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->device, color_space.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1137:25:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                        strncpy(arb_data->transform, color_space.c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/OpenColorIO_AE_UI.cpp:1143:21:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                    strncpy(arb_data->transform, seq_data->context->getTransform().c_str(), ARB_SPACE_LEN);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:47:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        len = strlen(str);
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:346: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).
                prof_name += strlen(prof_name) + 1;
data/opencolorio-1.1.1~dfsg0/src/aftereffects/win/OpenColorIO_AE_Dialogs_Win.cpp:392:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(path, profile_paths[ profile_vec[ g_selected_item ] ].c_str(), buf_len);
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:304:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(!xml || (strlen(xml) == 0))
data/opencolorio-1.1.1~dfsg0/src/core/CDLTransform.cpp:374:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(!src || (strlen(src) == 0) )
data/opencolorio-1.1.1~dfsg0/src/core/Config.cpp:452: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).
            if(!name || strlen(name) == 0)
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp:1275:48:  [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(cs->getDescription() != NULL && strlen(cs->getDescription()) > 0)
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp:1373:17:  [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(look->getDescription()) > 0)
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp:1678: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).
            if(c->getDescription() != NULL && strlen(c->getDescription()) > 0)
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp:1746:50:  [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(c->getActiveDisplays() != NULL && strlen(c->getActiveDisplays()) > 0)
data/opencolorio-1.1.1~dfsg0/src/core/OCIOYaml.cpp:1751: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).
            if(c->getActiveViews() != NULL && strlen(c->getActiveViews()) > 0)
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:100: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).
        OIIO_CHECK_EQUAL(strlen("SomeValue"), env.size());
data/opencolorio-1.1.1~dfsg0/src/core/Platform.cpp:110: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).
        OIIO_CHECK_EQUAL(strlen(" "), env.size());
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.cpp:147:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if(std::equal(cccext.rbegin(), cccext.rend(), srcstring.rbegin()) ||
data/opencolorio-1.1.1~dfsg0/src/nuke/OCIOFileTransform/OCIOFileTransform.cpp:148:17:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
           std::equal(ccext.rbegin(), ccext.rend(), srcstring.rbegin()))
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:75:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t len = MIN(strlen(cstr), 254);
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:77:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy((char *)&pstr[1], cstr, len);
data/opencolorio-1.1.1~dfsg0/src/photoshop/OpenColorIO_PS.cpp:636:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if(envFile != NULL && strlen(envFile) > 0)
data/opencolorio-1.1.1~dfsg0/src/photoshop/win/OpenColorIO_PS_Dialogs_Win.cpp:658:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(toolTipString, configPath.c_str(), 255);

ANALYSIS SUMMARY:

Hits = 276
Lines analyzed = 65512 in approximately 1.61 seconds (40671 lines/second)
Physical Source Lines of Code (SLOC) = 45268
Hits@level = [0]  15 [1]  63 [2] 160 [3]  37 [4]  16 [5]   0
Hits@level+ = [0+] 291 [1+] 276 [2+] 213 [3+]  53 [4+]  16 [5+]   0
Hits/KSLOC@level+ = [0+] 6.42838 [1+] 6.09702 [2+] 4.70531 [3+] 1.1708 [4+] 0.353451 [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.