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/mediaconch-18.03.2/Source/CLI/CommandLine_Parser.cpp
Examining data/mediaconch-18.03.2/Source/CLI/CLI.cpp
Examining data/mediaconch-18.03.2/Source/CLI/CommandLine_Parser.h
Examining data/mediaconch-18.03.2/Source/CLI/CLI_Main.h
Examining data/mediaconch-18.03.2/Source/CLI/Help.cpp
Examining data/mediaconch-18.03.2/Source/CLI/CLI.h
Examining data/mediaconch-18.03.2/Source/CLI/CLI_Main.cpp
Examining data/mediaconch-18.03.2/Source/CLI/Config.h
Examining data/mediaconch-18.03.2/Source/CLI/Help.h
Examining data/mediaconch-18.03.2/Source/Daemon/Daemon.cpp
Examining data/mediaconch-18.03.2/Source/Daemon/Daemon_Main.h
Examining data/mediaconch-18.03.2/Source/Daemon/Daemon_Main.cpp
Examining data/mediaconch-18.03.2/Source/Daemon/Daemon.h
Examining data/mediaconch-18.03.2/Source/Daemon/Help.cpp
Examining data/mediaconch-18.03.2/Source/Daemon/Config.h
Examining data/mediaconch-18.03.2/Source/Daemon/Help.h
Examining data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.h
Examining data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c
Examining data/mediaconch-18.03.2/Source/GUI/Qt/settingswindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/resulttable.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/policieswindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/checkerwindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/workerfiles.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebEnginePage.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/databasewindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebEngineView.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/resulttable.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/mainwindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/progressbar.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/helpwindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/main.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/publicpolicieswindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/uisettings.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/commonwebwindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/DatabaseUi.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebChoose.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/displaywindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/helpwindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/policieswindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/databasewindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebCommonPage.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebKitView.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/NoDatabaseUi.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/publicpolicieswindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/mainwindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/DatabaseUi.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/NoDatabaseUi.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/workerfiles.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebKitPage.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/checkerwindow.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebView.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/displaywindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/SQLLiteUi.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebCommonPage.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebPage.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/settingswindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/commonwebwindow.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebKitView.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebEnginePage.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/uisettings.cpp
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebKitPage.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/progressbar.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/WebEngineView.h
Examining data/mediaconch-18.03.2/Source/GUI/Qt/SQLLiteUi.cpp
Examining data/mediaconch-18.03.2/Source/Common/WatchFolder.h
Examining data/mediaconch-18.03.2/Source/Common/MediaConchLib.h
Examining data/mediaconch-18.03.2/Source/Common/Scheduler.cpp
Examining data/mediaconch-18.03.2/Source/Common/Plugin.h
Examining data/mediaconch-18.03.2/Source/Common/LibEventHttpd.cpp
Examining data/mediaconch-18.03.2/Source/Common/DatabaseReport.cpp
Examining data/mediaconch-18.03.2/Source/Common/Json.h
Examining data/mediaconch-18.03.2/Source/Common/JS_Tree.h
Examining data/mediaconch-18.03.2/Source/Common/WatchFoldersManager.h
Examining data/mediaconch-18.03.2/Source/Common/Httpd.cpp
Examining data/mediaconch-18.03.2/Source/Common/PluginsManager.h
Examining data/mediaconch-18.03.2/Source/Common/REST_API.h
Examining data/mediaconch-18.03.2/Source/Common/PluginPreHook.h
Examining data/mediaconch-18.03.2/Source/Common/Policies.h
Examining data/mediaconch-18.03.2/Source/Common/WatchFolder.cpp
Examining data/mediaconch-18.03.2/Source/Common/Policies.cpp
Examining data/mediaconch-18.03.2/Source/Common/Plugin.cpp
Examining data/mediaconch-18.03.2/Source/Common/SQLLite.cpp
Examining data/mediaconch-18.03.2/Source/Common/Xslt.cpp
Examining data/mediaconch-18.03.2/Source/Common/Queue.cpp
Examining data/mediaconch-18.03.2/Source/Common/PluginFormat.h
Examining data/mediaconch-18.03.2/Source/Common/Core.cpp
Examining data/mediaconch-18.03.2/Source/Common/Httpd.h
Examining data/mediaconch-18.03.2/Source/Common/UnknownPolicy.h
Examining data/mediaconch-18.03.2/Source/Common/PluginsConfig.h
Examining data/mediaconch-18.03.2/Source/Common/DatabaseReport.h
Examining data/mediaconch-18.03.2/Source/Common/Json.cpp
Examining data/mediaconch-18.03.2/Source/Common/PluginPreHook.cpp
Examining data/mediaconch-18.03.2/Source/Common/Xslt.h
Examining data/mediaconch-18.03.2/Source/Common/NoContainer.h
Examining data/mediaconch-18.03.2/Source/Common/DpfManager.h
Examining data/mediaconch-18.03.2/Source/Common/Scheduler.h
Examining data/mediaconch-18.03.2/Source/Common/Policy.cpp
Examining data/mediaconch-18.03.2/Source/Common/Http.h
Examining data/mediaconch-18.03.2/Source/Common/VeraPDF.cpp
Examining data/mediaconch-18.03.2/Source/Common/Database.cpp
Examining data/mediaconch-18.03.2/Source/Common/NoDatabaseReport.h
Examining data/mediaconch-18.03.2/Source/Common/WatchFoldersManager.cpp
Examining data/mediaconch-18.03.2/Source/Common/REST_API.cpp
Examining data/mediaconch-18.03.2/Source/Common/Configuration.cpp
Examining data/mediaconch-18.03.2/Source/Common/Schema.h
Examining data/mediaconch-18.03.2/Source/Common/LibEventHttpd.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicySample1.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportVeraPDFXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/MicroMediaTraceToMediaTraceXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicySample8.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportDisplaySimpleXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicySample7.h
Examining data/mediaconch-18.03.2/Source/Common/generated/MediaTraceDisplayHtmlXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportDisplayCSVXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/MediaTraceDisplayTextXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportDPFManagerXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicyTransformXml.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicySample6.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicySample4.h
Examining data/mediaconch-18.03.2/Source/Common/generated/GeneratedCSVVideos.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportMatroskaSchema.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportDisplayTextXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportDisplayHtmlXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/ImplementationReportDisplayTextUnicodeXsl.h
Examining data/mediaconch-18.03.2/Source/Common/generated/PolicySample5.h
Examining data/mediaconch-18.03.2/Source/Common/SQLLite.h
Examining data/mediaconch-18.03.2/Source/Common/VeraPDF.h
Examining data/mediaconch-18.03.2/Source/Common/JS_Tree.cpp
Examining data/mediaconch-18.03.2/Source/Common/LibEventHttp.cpp
Examining data/mediaconch-18.03.2/Source/Common/NoDatabaseReport.cpp
Examining data/mediaconch-18.03.2/Source/Common/FileRegistered.h
Examining data/mediaconch-18.03.2/Source/Common/Core.h
Examining data/mediaconch-18.03.2/Source/Common/Reports.h
Examining data/mediaconch-18.03.2/Source/Common/DaemonClient.cpp
Examining data/mediaconch-18.03.2/Source/Common/DpfManager.cpp
Examining data/mediaconch-18.03.2/Source/Common/UnknownPolicy.cpp
Examining data/mediaconch-18.03.2/Source/Common/PluginFileLog.cpp
Examining data/mediaconch-18.03.2/Source/Common/MediaConchLib.cpp
Examining data/mediaconch-18.03.2/Source/Common/Queue.h
Examining data/mediaconch-18.03.2/Source/Common/Database.h
Examining data/mediaconch-18.03.2/Source/Common/XsltPolicy.cpp
Examining data/mediaconch-18.03.2/Source/Common/SQLLiteReport.h
Examining data/mediaconch-18.03.2/Source/Common/Reports.cpp
Examining data/mediaconch-18.03.2/Source/Common/Configuration.h
Examining data/mediaconch-18.03.2/Source/Common/Policy.h
Examining data/mediaconch-18.03.2/Source/Common/SQLLiteReport.cpp
Examining data/mediaconch-18.03.2/Source/Common/PluginLog.h
Examining data/mediaconch-18.03.2/Source/Common/Container.h
Examining data/mediaconch-18.03.2/Source/Common/PluginFileLog.h
Examining data/mediaconch-18.03.2/Source/Common/Schema.cpp
Examining data/mediaconch-18.03.2/Source/Common/XsltPolicy.h
Examining data/mediaconch-18.03.2/Source/Common/Http.cpp
Examining data/mediaconch-18.03.2/Source/Common/LibEventHttp.h
Examining data/mediaconch-18.03.2/Source/Common/PluginsConfig.cpp
Examining data/mediaconch-18.03.2/Source/Common/PluginsManager.cpp
Examining data/mediaconch-18.03.2/Source/Common/DaemonClient.h

FINAL RESULTS:

data/mediaconch-18.03.2/Source/Common/DpfManager.cpp:318:19:  [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 ret = vsnprintf(buf, sizeof(buf), msg, args);
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:247:13:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            execvp(bin, args);
data/mediaconch-18.03.2/Source/Common/Schema.cpp:131:15:  [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 ret = vsnprintf(buf, sizeof(buf), msg, args);
data/mediaconch-18.03.2/Source/Common/Xslt.cpp:226:15:  [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 ret = vsnprintf(buf, sizeof(buf), msg, args);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:26983:42:  [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.
  { "access",       (sqlite3_syscall_ptr)access,     0  },
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:43125:28:  [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.
#define sqlite3DebugPrintf printf
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:54533:42:  [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.
# define TRACE(X)  if(sqlite3BtreeTrace){printf X;fflush(stdout);}
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:67988:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(pOut, zFormat1, pc, 
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:100291:14:  [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.
    FUNCTION(printf,            -1, 0, 0, printfFunc       ),
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104186:12:  [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.
  char * (*snprintf)(int,char*,const char*,...);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104298:11:  [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.
  char *(*vsnprintf)(int,char*,const char*,va_list);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104441:53:  [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 sqlite3_snprintf               sqlite3_api->snprintf
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104465:53:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define sqlite3_vsnprintf              sqlite3_api->vsnprintf
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104541:53:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define sqlite3_uri_vsnprintf          sqlite3_api->vsnprintf
data/mediaconch-18.03.2/Source/Common/Core.cpp:1251: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.
    if ((home = getenv("HOME")) == NULL)
data/mediaconch-18.03.2/Source/Common/Core.cpp:1266: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.
    if ((home = getenv("HOME")) == NULL)
data/mediaconch-18.03.2/Source/Common/Core.cpp:1305: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.
    if ((home = getenv("HOME")) == NULL)
data/mediaconch-18.03.2/Source/Common/Core.cpp:1318: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.
    if ((home = getenv("HOME")) == NULL)
data/mediaconch-18.03.2/Source/Common/DaemonClient.cpp:450:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    char *path = realpath(file.c_str(), NULL);
data/mediaconch-18.03.2/Source/Common/DpfManager.cpp:127:22:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
        char *path = realpath(filename.c_str(), NULL);
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:148:20:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
        BOOL ret = CreateProcess(NULL, buff_cmd, NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &siStartInfo, &piProcInfo);
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:148:20:  [3] (shell) CreateProcess:
  This causes a new process to execute and is difficult to use safely
  (CWE-78). Specify the application path in the first argument, NOT as part
  of the second, or embedded spaces could allow an attacker to force a
  different program to run.
        BOOL ret = CreateProcess(NULL, buff_cmd, NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &siStartInfo, &piProcInfo);
data/mediaconch-18.03.2/Source/Common/VeraPDF.cpp:95:22:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
        char *path = realpath(filename.c_str(), NULL);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:21076:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection(&winMutex_staticMutexes[i].mutex);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:21170:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&p->mutex);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:21236:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&p->mutex);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:29486:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    lk = random(); 
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32074:32:  [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( !azDirs[1] ) azDirs[1] = getenv("SQLITE_TMPDIR");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32075:32:  [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( !azDirs[2] ) azDirs[2] = getenv("TMPDIR");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32508: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 *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:38794: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.
    if( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:38795: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.
    if( !azDirs[1] ) azDirs[1] = getenv("TMPDIR");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:38796: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.
    if( !azDirs[2] ) azDirs[2] = getenv("TMP");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:38797: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.
    if( !azDirs[3] ) azDirs[3] = getenv("TEMP");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:38798: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.
    if( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:100309:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    VFUNCTION(random,            0, 0, 0, randomFunc       ),
data/mediaconch-18.03.2/Source/Common/Core.cpp:233:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ofs.open(file.c_str(), std::ofstream::out | std::ofstream::binary);
data/mediaconch-18.03.2/Source/Common/DpfManager.cpp:312: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 buf[4096] = {0};
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:142:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t buff_cmd[32768] = {0};
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:264: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 buf[4096];
data/mediaconch-18.03.2/Source/Common/PluginFileLog.cpp:78:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    this->open();
data/mediaconch-18.03.2/Source/Common/PluginFileLog.cpp:105:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
bool PluginFileLog::open()
data/mediaconch-18.03.2/Source/Common/PluginFileLog.cpp:111:23:  [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).
    this->file_handle.open(this->filename.c_str(), std::ofstream::out | std::ofstream::app);
data/mediaconch-18.03.2/Source/Common/PluginFileLog.h:49:30:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    bool                     open();
data/mediaconch-18.03.2/Source/Common/Schema.cpp: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 buf[4096] = {0};
data/mediaconch-18.03.2/Source/Common/Xslt.cpp:220:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[4096] = {0};
data/mediaconch-18.03.2/Source/GUI/Qt/WebCommonPage.cpp:81:19:  [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).
        if (!file.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Truncate))
data/mediaconch-18.03.2/Source/GUI/Qt/checkerwindow.cpp:311:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/checkerwindow.cpp:336:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/checkerwindow.cpp:402:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/checkerwindow.cpp:435:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/commonwebwindow.cpp:37:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/databasewindow.cpp:61:19:  [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).
    database_file.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/displaywindow.cpp:228:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    display_file.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/main.cpp:26: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(argv, old_argv, argc * sizeof(char*));
data/mediaconch-18.03.2/Source/GUI/Qt/mainwindow.cpp:948:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
data/mediaconch-18.03.2/Source/GUI/Qt/mainwindow.cpp:1191: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).
    if (file.open(QIODevice::ReadWrite | QIODevice::Truncate))
data/mediaconch-18.03.2/Source/GUI/Qt/mainwindow.cpp:1751:25:  [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).
            display_xsl.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/mainwindow.cpp:1762:21:  [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).
        display_xsl.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/policieswindow.cpp:126:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/publicpolicieswindow.cpp:108:19:  [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).
    template_html.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/GUI/Qt/settingswindow.cpp:64:19:  [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).
    settings_file.open(QIODevice::ReadOnly | QIODevice::Text);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:12988: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 zSelName[12];     /* Symbolic name of this SELECT use for debugging */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:13174:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  typedef unsigned char yDbMask[(SQLITE_MAX_ATTACHED+9)/8];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:14617:31:  [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.
SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:15550: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 zBase[100];   /* Initial space */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:16640: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 *z, zBuf[30];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:16906: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 zBuf[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:16926: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 zBuf[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:16945: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 zBuf[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:16982: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 zBuf[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:17170: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 zBuf[20];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:18177: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 zTitle[100];  /* The title text */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:18347:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:18356:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(z, mem.zTitle, mem.nTitle);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:18423: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(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:18529: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(mem.zTitle, zTitle, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:18553:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  out = fopen(zFilename, "w");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:19142:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nOld);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:19144:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nBytes);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:19200:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:19698: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(p, pPrior, nOld);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:19820:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22005: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(pNew, p, db->lookaside.sz);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22053: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(zNew, z, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22065: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(zNew, z, (size_t)n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22325: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[etBUFSIZE];       /* Conversion buffer */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22593: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(buf+(prefix!=0),"Inf",4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22891:35:  [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( zOld==0 && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22925: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(&p->zText[p->nChar], z, N);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22944: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(&p->zText[p->nChar-N], z, N);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:22967: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(p->zText, p->zBase, p->nChar+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23015: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 zBase[SQLITE_PRINT_BUF_SIZE];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23047: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 zBase[SQLITE_PRINT_BUF_SIZE];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23133: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 zMsg[SQLITE_PRINT_BUF_SIZE*3];    /* Complete log message */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23162: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 zBuf[500];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23243: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 zBuf[500];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23302: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 zLine[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23377: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 zFlgs[30];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23658:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char s[256];          /* State variables */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23711: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 k[256];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23752:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:23759:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:24263: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 zBuf[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:24373: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 zBuf[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:24530:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char zBuf[20];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25186: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(pOut, &u, 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25227:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pValue, &u, 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25658: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(&x,p,4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25663: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(&x,p,4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25668: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(&x,p,4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25677: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(p,&v,4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25680: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(p,&x,4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25683: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(p,&x,4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:25954: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(&a, &x, 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:26660: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 aPadding[32];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:26946:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return open(zFile, flags, mode);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:27532: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(pNew->zCanonicalName, zAbsoluteName, n+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:27710: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 aSemName[MAX_PATHNAME+2];  /* Name of that semaphore */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:27750: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 aErr[80];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:27938: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(&pInode->fileId, &fileId, sizeof(fileId));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:29841:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:29845:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:29960:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char oldCntr[4];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:29976:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:29980:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:30158: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 zDirname[MAX_PATHNAME+1];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32228: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 zDb[MAX_PATHNAME+1];     /* Database file path */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32255: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(zDb, zPath, nDb);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32333: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 zTmpname[MAX_PATHNAME+2];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32514:18:  [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).
      useProxy = atoi(envforce)>0;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32767:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zBuf, &t, sizeof(t));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32768:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33111: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[MAXPATHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33289: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 tPath[MAXPATHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33290: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[PROXY_MAXCONCHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33294: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 errmsg[64] = "";
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33383: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 tBuf[PROXY_MAXCONCHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33433: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 readBuf[PROXY_MAXCONCHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33434: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 lockPath[MAXPATHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33490: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(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33536: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 writeBuffer[PROXY_MAXCONCHLEN];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33540: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(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33687: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(conchPath, dbPath, len+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33703: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(&conchPath[i+1], "-conch", 7);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33763: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(dbPath, (char *)pFile->lockingContext, len + 1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33782: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 dbPath[MAXPATHLEN+1];       /* Name of the database file */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:35246:41:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  { "MultiByteToWideChar",     (SYSCALL)MultiByteToWideChar,     0 },
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:35664: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 zDbgBuf[SQLITE_WIN32_DBG_BUF_SIZE];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:35671: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(zDbgBuf, zBuf, nMin);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:35687: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(zDbgBuf, zBuf, nMin);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:36276: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 zMsg[500];                 /* Human readable error text */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:36920:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:36926:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:36998:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:37004:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39776: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(&zBuf[n], &x, sizeof(x));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39781: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(&zBuf[n], &pid, sizeof(pid));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39787: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(&zBuf[n], &cnt, sizeof(cnt));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39793: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(&zBuf[n], &cnt, sizeof(cnt));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39800: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(&zBuf[n], &i, sizeof(i));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39808: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(&zBuf[n], &id, sizeof(UUID));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:39815: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(&zBuf[n], &id, sizeof(UUID));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:40247:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:40287: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(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:43677: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 dbFileVers[16];        /* Changes whenever database file changes */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:43985:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char zRet[1024];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:44066:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ac[4];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:44085: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 ac[4];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:44255:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aMagic[8];   /* A buffer to hold the magic header */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:44346:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char zeroHdr[28] = {0};
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:44434: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(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:44511:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aMagic[8];     /* A buffer to hold the magic header */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:45360: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(pData, (u8*)aData, pPager->pageSize);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47142: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(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47644: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(pPager->zFilename, zPathname, nPathname);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47645:16:  [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( nUri ) memcpy(&pPager->zFilename[nPathname+1], zUri, nUri);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47646: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(pPager->zJournal, zPathname, nPathname);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47647: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(&pPager->zJournal[nPathname], "-journal\000", 8+2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47651: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(pPager->zWal, zPathname, nPathname);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:47652: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(&pPager->zWal[nPathname], "-wal\000", 4+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:48140:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dbFileVers[sizeof(pPager->dbFileVers)];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:49038:54:  [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.
          const void *pCopy = (const void *)&((const char *)zBuf)[24];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:50952:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((void*)&aHdr[1], (const void*)&pWal->hdr, sizeof(WalIndexHdr));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:50954:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((void*)&aHdr[0], (const void*)&pWal->hdr, sizeof(WalIndexHdr));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:50982: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(&aFrame[8], pWal->hdr.aSalt, 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:51060:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zName[15];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:51429: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(&pWal->hdr.aSalt, &aBuf[16], 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:51729: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(aLeft, aTmp, sizeof(aTmp[0])*iOut);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:51956: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(&pWal->hdr.aSalt[1], &salt1, 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:52306: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(&pWal->hdr, &h1, sizeof(WalIndexHdr));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:52893: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(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:53141: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(&aWalHdr[16], pWal->hdr.aSalt, 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:55258: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 aSpace[200];          /* Temp space for pIdxKey - to avoid a malloc */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:55872:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&temp[x], &data[x], (cbrk+size) - x);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:55875:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data[cbrk], &src[pc], size);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:55938: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(&aData[iAddr], &aData[pc], 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:56631:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char zDbHeader[100];  /* Database header content */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:56693: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(zFullPathname, zFilename, nFilename);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:57525:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, zMagicHeader, sizeof(zMagicHeader));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:58868: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(pPayload, pBuf, nByte);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:58871: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(pBuf, pPayload, nByte);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:59066:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aSave, aWrite, 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:59069:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aWrite, aSave, 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60085: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(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60109: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(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60115: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(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60138:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pNewTrunk->aData[0], &pTrunk->aData[0], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60140:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60205: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(&aData[8+closest*4], &aData[4+k*4], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60687:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pPayload, pSrc, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60797:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTemp, pCell, sz);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60832:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data[idx], pCell, sz);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60929: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(&pTmp[i], &aData[i], usableSize - i);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:60941: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(pData, pCell, szCell[i]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61104: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(pTmp, aData, pPg->pBt->usableSize);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61378: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(&aTo[iData], &aFrom[iData], pBt->usableSize-iData);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61379: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(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61576:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aOvflSpace[iOff], apDiv[i], szNew[i]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61693:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTemp, apDiv[i], sz);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61702: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(b.apCell[b.nCell], &pOld->aData[8], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:61941: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(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:62016:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pNew->aData[8], pCell, 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:62247: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(pChild->aiOvfl, pRoot->aiOvfl,
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:62249: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(pChild->apOvfl, pRoot->apOvfl,
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:62506:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newCell, oldCell, 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:63783: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 zErr[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:64469:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zOut, zIn, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:65107: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(pMem->zMalloc, pMem->z, pMem->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:65304: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(pMem, &t, sizeof(t));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:65749: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(pTo, pFrom, MEMCELLSIZE);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:65770: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(pTo, pFrom, MEMCELLSIZE);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:65794: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(pTo, pFrom, sizeof(Mem));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:65869: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(pMem->z, z, nAlloc);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:66970:16:  [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( p4copy ) memcpy(p4copy, zP4, 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:67796:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&zTemp[i],",...",4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:67804: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(&zTemp[i], zColl, n+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:67975: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 zPtr[50];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:67976: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 zCom[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:68280: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 z[1000];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:68492: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(p->azVar, pParse->azVar, p->nzVar*sizeof(p->azVar[0]));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:69364:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *out = fopen("vdbe_profile.out", "a");
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:69383: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 zHdr[100];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:69775: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(buf, pMem->z, len);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:69832: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(&pMem->u.r, &x, sizeof(x));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:71205: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(pNew, pOrig, MEMCELLSIZE);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:72703: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 zBase[100];         /* Initial working space */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:73279: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 zBuf[200];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:74286: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(pOut->z, pIn2->z, pIn2->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:74288: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(&pOut->z[pIn2->n], pIn1->z, pIn1->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:75481: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(pDest->z, zData, len);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:75750: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(pNew->zName, zName, nName+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:76794: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 aTempRec[ROUND8(sizeof(UnpackedRecord)) + sizeof(Mem)*4 + 7];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:80628: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(p->aAlloc, &p->aBuffer[iBuf], nAvail);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:80644:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:81051: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(pKeyInfo, pCsr->pKeyInfo, szKeyInfo);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:81548: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(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:81923: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(SRVAL(pNew), pVal->z, pVal->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:82750: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(pOut->z, pKey, nKey);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:82909: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(zBuf, &p->zBuf[iOfst], iAmt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:82932:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->zBuf[iOfst], zBuf, iAmt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:83162: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(zOut, &pChunk->zChunk[iChunkOffset], nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:83214: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(&p->endpoint.pChunk->zChunk[iChunkOffset], zWrite, iSpace);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:83581: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(pExpr, pDup, sizeof(*pExpr));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:85458:25:  [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( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:85870: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(zAlloc, p, nNewSize);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:85873: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(zAlloc, p, nSize);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:85885: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(zToken, p->u.zToken, nToken);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:89994: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(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:90339: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(p->u.aRowid, pData, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:90366: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(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:90367: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(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:90368: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(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:91795: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(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:91992:18:  [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.
  zFile = (const char *)sqlite3_value_text(argv[0]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:91993:18:  [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.
  zName = (const char *)sqlite3_value_text(argv[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:92028: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(aNew, db->aDb, sizeof(db->aDb[0])*2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:92101: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.
        zKey = (char *)sqlite3_value_blob(argv[2]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:92179:30:  [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.
  const char *zName = (const char *)sqlite3_value_text(argv[0]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:92183: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 zErr[128];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:93033: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 saveBuf[SAVE_SZ];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:93044: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(saveBuf, &pParse->nVar, SAVE_SZ);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:93049: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(&pParse->nVar, saveBuf, SAVE_SZ);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:93279: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(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0]));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:94384: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(&zStmt[k], zType, len);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:94404: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(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:94407: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(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:94410: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(zExtra, pIdx->aSortOrder, pIdx->nColumn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:95190: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 zTab[24];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:95441: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(z, pTo->z, pTo->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:95469:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(z, pToCol->a[i].zName, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:95879: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(pIndex->zName, zName, nName+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:95952:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zExtra, zColl, nColl);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:96214: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(&a[1], aVal, nCopy*sizeof(LogEst));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:97257:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pColl, pColl2, sizeof(CollSeq));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:97367:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pColl[0].zName, zName, nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:97606: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(pBest->zName, zName, nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:99537:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[50];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:99781:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&zOut[j], zRep, nRep);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:99787: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(&zOut[j], &zStr[i], nStr-i);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:99895: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 zResult[8];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:99944:30:  [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.
  const char *zFile = (const char *)sqlite3_value_text(argv[0]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:99950:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zProc = (const char *)sqlite3_value_text(argv[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:100247: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(aWc, pDef->pUserData, 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:101663:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((char *)pStep->zTarget, zFrom, nFrom);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104012:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(*pzErrMsg, sqlite3_errmsg(db), nErrMsg);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104162:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  int  (*open)(const char*,sqlite3**);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:104416:53:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sqlite3_open                   sqlite3_api->open
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:105080: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(zAltEntry, "sqlite3_", 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:105089: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(zAltEntry+iEntry, "_init", 6);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:105124: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(aHandle, db->aExtension, sizeof(handle)*db->nExtension);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:106116: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 *aFcntl[4];       /* Argument to SQLITE_FCNTL_PRAGMA */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:107701:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zKey[40];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:107883: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 const *azArg[4];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:114351: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(z, argv[i], n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:114837: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(z, pName->z, pName->n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:116823:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zCopy, zName, nName+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:117830: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(pNew->zName, pDef->zName, sqlite3Strlen30(pDef->zName)+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:117890: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(pTab->zName, pMod->zName, nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:118643: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 zBuf[100];               /* Initial space for EQP output string */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:119708:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pOrTab->a, pTabItem, sizeof(*pTabItem));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:120110: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(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:120236: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 wc[3];                /* Wildcard characters */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:121463: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(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:121479: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(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0]));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:123000: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 zType[4];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:123001: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(zType, "...", 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:123111: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(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:123127: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(pTo, pFrom, WHERE_LOOP_XFER_SZ);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:123128: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(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0]));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:124796:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char zName[65];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:125083: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(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:129705:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char zText[553] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:129738:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aHash[127] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:129750:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aNext[124] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:129762:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aLen[124] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:129786:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char aCode[124] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:131075: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(&y, &x, 8);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:132127:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zBuf[50];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:133432: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(zFile, zUri, nUri);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:134885:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pNew, aArg, nArg*sizeof(void *));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:136935: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(p, zCol, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137231: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(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137241: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(zCsr, argv[2], nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137244: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(zCsr, argv[1], nDb);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137251:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137252: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(zCsr, z, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137257:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    assert( zCsr <= &((char *)p)[nByte] );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137692: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(&zBuffer[nPrefix], zCsr, nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137844: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(p, *ppPoslist, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137882: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(p, *ppPoslist, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:138207: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 *aaOutput[16];             /* Malloc'd output buffers */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:138599:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pTS->aaOutput[0], aDoclist, nDoclist);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:139396: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(&pRet, sqlite3_value_blob(pVal), sizeof(Fts3Cursor *));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:139517: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.
      zArg = (const char *)sqlite3_value_text(apVal[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:140416: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(aDoclist, a[p->nToken-1].pList, nByte+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:141891: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((char *)p->pFts3Tab->zDb, zDb, nDb);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:141892: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((char *)p->pFts3Tab->zName, zFts3, nFts3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:142549: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(pRet->pPhrase->aToken[0].z, zToken, nToken);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:142664: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(&zTemp[nTemp], zByte, nByte);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:142692:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zBuf, zTemp, nTemp);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:143465:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:143564:34:  [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.
                          (const char *)sqlite3_value_text(argv[0]), &pModule);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:143581:18:  [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.
  zExpr = (const char *)sqlite3_value_text(argv[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:143590:18:  [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.
    azCol[ii] = (char *)sqlite3_value_text(argv[ii+2]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144014:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy((void*)new_elem->pKey, pKey, nKey);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144374: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 zReverse[28];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144953: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.
  const char *azArg[64];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144970:18:  [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.
  zName = (const char *)sqlite3_value_text(argv[0]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144972:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zInput = (const char *)sqlite3_value_text(argv[argc-1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144988:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    azArg[i-1] = (const char *)sqlite3_value_text(argv[i]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145068:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145230: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 delim[128];             /* flag ASCII delimiters */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145563: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(pSpace, argv[i], n+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145777:32:  [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.
    const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145783:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pCsr->zInput, zByte, nByte);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:146812:34:  [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.
      const char *zText = (const char *)sqlite3_value_text(apVal[i]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:147222: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(aCopy, pList->aData, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:147281: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(&pReader->zTerm[nPrefix], pNext, nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:147513: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(pReader->aNode, zRoot, nRoot);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:147636:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:147927:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pTree->aData[nData], &zTerm[nPrefix], nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:147941: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(pTree->zTerm, zTerm, nTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:148191: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(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:148194: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(&pWriter->aData[nData], aDoclist, nDoclist);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:148213: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(pWriter->zTerm, zTerm, nTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:148521: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(pMsr->aBuffer, pList, nList);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:148865:15:  [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(&pCsr->aBuffer[nDoclist], pList, nList);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:149617:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:149721: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(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:149724: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(pNode->key.a, zTerm, nTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:149797: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(pPrev->a, zTerm, nTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:149804: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(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:149809: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(&pNode->a[pNode->n], aDoclist, nDoclist);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:150140: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(pNode->block.a, aRoot, nRoot);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:150152:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pNode->key.a, reader.term.a, reader.term.n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:150162:15:  [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(pNode->block.a, aBlock, nBlock);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:150626:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pHint->a, aHint, nHint);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151188:20:  [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).
    p->nNodeSize = atoi(&zVal[9]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151191:26:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    p->nMaxPendingData = atoi(&zVal[11]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151194:25:  [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).
    p->bNoIncrDoclist = atoi(&zVal[21]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151316: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(pRet, &p->pList->aData[nSkip], *pnData);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151709: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(pRet->zMatchinfo, zMatchinfo, nStr+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151750:24:  [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( p->bGlobal ) memcpy(aOut, &p->aMatchinfo[1], p->nElem*sizeof(u32));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151760: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(&p->aMatchinfo[2+p->nElem], &p->aMatchinfo[1], p->nElem*sizeof(u32));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:152184: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(&pStr->z[pStr->n], zAppend, nAppend);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:153214:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char aBuffer[64];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:154586: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(pNode->zData, zBlob, pRtree->iNodeSize);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:154964: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(&c.u,a,4);                                           \
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:154972: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(&c.u,a,4);                                           \
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:155534: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(pBlob, sqlite3_value_blob(pValue), nBlob);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:155716: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 zIdxStr[RTREE_MAX_DIMENSIONS*8+1];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:155858: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(&cell, p, sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156040: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(aSpare, aLeft, sizeof(int)*nLeft);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156109: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(aSpare, aLeft, sizeof(int)*nLeft);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156200:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156201:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156230: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(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156231: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(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156298: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(&aCell[nCell], pCell, sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:156590:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&aCell[ii], pCell, sizeof(RtreeCell));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157068:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *azSql[N_STATEMENT] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157257: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(pRtree->zDb, argv[1], nDb);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157258: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(pRtree->zName, argv[2], nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157334: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 zCell[512];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157763: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 zBuf[128];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157891:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zLocale = (const char *)sqlite3_value_text(apArg[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157979:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zLocale = (const char *)sqlite3_value_text(apArg[0]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157980:18:  [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.
  zName = (const char *)sqlite3_value_text(apArg[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:158132: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(p->zLocale, argv[0], n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159095: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 zStateDb[5];               /* Db name for state ("stat" or "main") */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159288: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(zOut, &zSrc[ofst], cnt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159303: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(zOut, zDelta, cnt);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159775:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zRet, zStr, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159928: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(pIter->abIndexed, pIter->abTblPk, sizeof(u8)*pIter->nTblCol);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:160879: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(pUp->zMask, zMask, pIter->nTblCol);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:160932: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(p->zStateDb, "stat", 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:160934: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(p->zStateDb, "main", 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161182:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161191:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename,
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161787: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 zRnd[64];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161835:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zTarget, zTarget, nTarget+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161837:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zRbu, zRbu, nRbu+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161840: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(p->zState, zState, nState+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:162575: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(zCopy, zName, nCopy);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:162819:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&pNew->base, &vfs_template, sizeof(sqlite3_vfs));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:162824:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zSpace, zName, nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:163659: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 zSpace[100];        /* Initial static space */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:163771: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(zNew, p->zBuf, (size_t)p->nUsed);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:163790: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(p->zBuf+p->nUsed, zIn, N);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:165419: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(p->zJson, z, (size_t)n+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:165441:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zRoot, zRoot, (size_t)n+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:168673: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(&pBuf->p[pBuf->n], pData, nData);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:168863:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(zRet, pIn, nIn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169167: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(pSpace, p2, p-p2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169275: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(zOut, zIn, nIn+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169613: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( zRank ) memcpy(zRank, pRank, p-pRank);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169633:25:  [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( zRankArgs ) memcpy(zRankArgs, pArgs, p-pArgs);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:170097: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(aNew, aIter, sizeof(Fts5PoslistReader) * nIter);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:171202:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pSyn->zTerm, pToken, nToken);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:171521: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(&p->apChild[p->nChild], pSub->apChild, nByte);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:172070: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 zKey[8];                   /* Nul-terminated entry key */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:172246: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(&p->zKey[1], pToken, nToken);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:173569: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(pOut->aSeg, &pLvl->aSeg[is], sizeof(Fts5StructureSegment));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:176177: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(&(pBuf)->p[(pBuf)->n], pBlob, nBlob);             \
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:176844:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pData->p, doclist.p, doclist.n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:177076: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(&buf.p[1], pToken, nToken);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:178046: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(a, aBlob, n);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:180435:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pAux->zFunc, zName, nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:180473: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(pNew->zName, zName, nName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:180589: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[8];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:180592: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(buf, (void*)&pGlobal, sizeof(pGlobal));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:181844: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.
static unsigned char aAsciiTokenChar[128] = {
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:181857:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aTokenChar[128];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:181899:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->aTokenChar, aAsciiTokenChar, sizeof(aAsciiTokenChar));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:181947: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 aFold[64];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182050:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aTokenChar[128];  /* ASCII range token characters */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182159:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->aTokenChar, aAsciiTokenChar, sizeof(aAsciiTokenChar));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182265: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(aFold, p->aFold, nFold);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182319: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 aBuf[FTS5_PORTER_MAX_TOKEN + 64];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182406:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&aBuf[nStem], p->zOutput, p->nOutput);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182645: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(&aBuf[nBuf-2], "ate", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182653: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(&aBuf[nBuf-2], "ble", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182661: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(&aBuf[nBuf-2], "ize", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182680:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ate", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182685:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-6], "tion", 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182694:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ence", 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182699:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ance", 4);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182708:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ize", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182717:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "log", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182726:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "ble", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182731:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "al", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182736:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ent", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182741:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "e", 1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182746:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ous", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182755:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ize", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182760:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ate", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182765:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ate", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182774:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182779:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ive", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182784:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ful", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182789:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ous", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182798:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182803:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ive", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182808:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-6], "ble", 3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182827:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ic", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182844:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ic", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182849:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ic", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182874:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182893:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "ee", 2);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182956: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(aBuf, pToken, nBuf);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:183946:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pRet->zFts5Tbl, zTab, nTab);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:183947:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pRet->zFts5Db, zDb, nDb);
data/mediaconch-18.03.2/Source/CLI/CLI.cpp:756:17:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                usleep(500000);
data/mediaconch-18.03.2/Source/Common/Core.cpp:948:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t BufferSize = strlen(mi_xml.data());
data/mediaconch-18.03.2/Source/Common/Core.cpp:1519:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(50000);
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:267:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                rd = read(pipe_out_fd[0], buf, 4095);
data/mediaconch-18.03.2/Source/Common/Plugin.cpp:276:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                rd = read(pipe_err_fd[0], buf, 4095);
data/mediaconch-18.03.2/Source/Common/WatchFolder.cpp:221:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(waiting_time);
data/mediaconch-18.03.2/Source/Daemon/Daemon.cpp:662:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
        umask(0);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:24687: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).
  return 0x3fffffff & (int)strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:27012:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  { "read",         (sqlite3_syscall_ptr)read,       0  },
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:27528:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  n = (int)strlen(zAbsoluteName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:30161: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).
  for(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:30923:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nShmFilename = 6 + (int)strlen(zBasePath);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32002:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nFilename = (int)strlen(zFilename) + 6;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32111:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32111:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32117:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    j = (int)strlen(zBuf);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32390: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).
    assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32403:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( zName[strlen(zName)+1]==0 );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32670: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).
    nCwd = (int)strlen(zOut);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:32799:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(microseconds);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33095:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dbLen = (int)strlen(dbPath);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33116:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int)strlen(lockPath);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33372:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(500000); /* wait 0.5 sec and try the lock again*/
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33398:9:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
        usleep(10000000); /* wait 10 sec and try the lock again */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33547:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33678:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33704:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( (int)strlen(conchPath) == len+7 );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33754:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33762: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).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33762:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:33766:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:119042:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( zAff==0 || (int)strlen(zAff)>=nEq );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:136652:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nRet = 2 + (int)strlen(zInput)*2 + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:136923:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nStr += (int)strlen(zCol) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:136934:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = (int)strlen(zCol)+1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137000:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert( strlen(argv[0])==4 );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137005:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(argv[1]) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137006:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = (int)strlen(argv[2]) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137040:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
     && strlen(z)>8
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137079:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if( strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137105:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
              if( (strlen(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) 
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137106:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
               && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) 
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137139:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nString += (int)(strlen(z) + 1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137262:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = (int)strlen(p->azColumn[iCol]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:137265:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( zNot && n==(int)strlen(zNot)
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:141863:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(zDb);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:141867:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nDb = (int)strlen(zDb);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:141875:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nFts3 = (int)strlen(zFts3);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:142859: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).
    int nStr = (int)strlen(zStr);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:143319:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:143745: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).
  if( nKey<=0 ) nKey = (int) strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144136:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c->nInput = (int)strlen(zInput);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144598: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).
  *pnOut = i = (int)strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144859: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).
  zEnd = &zCopy[strlen(zCopy)];
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:144869:68:  [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).
  m = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145270: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).
    int i, n = (int)strlen(argv[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145322:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    c->nBytes = (int)strlen(pInput);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145514:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nName = (int)strlen(zName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145552:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nByte += (int)(strlen(argv[i]) + 1);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:145561:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int n = (int)strlen(argv[i]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:151700:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nStr = (int)strlen(zMatchinfo);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:152165:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nAppend = (int)strlen(zAppend);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:153509:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = (int)strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:153561: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).
    pCsr->nInput = (int)strlen(aInput);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:155614:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                || (idxStr && (int)strlen(idxStr)==argc*2) );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157243:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(argv[1]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157244:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = (int)strlen(argv[2]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157341:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nCell = (int)strlen(zCell);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:157350:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nCell = (int)strlen(zCell);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:158122:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(argv[0])+1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:158178:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nInput = strlen(zInput);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159621:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if( zIn && strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:159772: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).
    int nCopy = strlen(zStr) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:160325:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( (int)strlen(zMask)!=pIter->nTblCol ){
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161820: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).
  int nTarget = strlen(zTarget);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161821:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nRbu = strlen(zRbu);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161822: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).
  int nState = zState ? strlen(zState) : 0;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:161961:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nErrmsg = strlen(p->zErrmsg);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:162546: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).
      int n = strlen(zName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:162572:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          int nCopy = strlen(zName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:162806:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = strlen(zName);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:163802:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p->nUsed += (int)strlen(p->zBuf+p->nUsed);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:165310:44:  [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).
          jsonAppendRaw(&x, p->zRoot, (int)strlen(p->zRoot));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:168173:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( n<0 ) n = strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:168687:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nStr = strlen(zStr);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:168859:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      nIn = strlen(pIn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169112:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nCmd = strlen(zCmd);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169149:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nArg = strlen(zArg) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:169265:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nIn = strlen(zIn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:170675:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            pExpr->pIndex, p->zTerm, strlen(p->zTerm),
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:171286:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:171359:59:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      rc = fts5ParseTokenize((void*)&sCtx, tflags, zTerm, strlen(zTerm), 0, 0);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:171601:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nByte += strlen(pTerm->zTerm) * 2 + 3 + 2;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:172174: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).
      iHash = fts5HashKey(nNew, (u8*)p->zKey, strlen(p->zKey));
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:172462: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).
    int nTerm = strlen(p->zKey);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:174254:54:  [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).
          sqlite3Fts5BufferSet(&p->rc, &pIter->term, strlen(zTerm), (u8*)zTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:174661:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (z ? strlen((const char*)z) : 0);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:176234:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      fts5WriteAppendTerm(p, &writer, strlen(zTerm), (const u8*)zTerm);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:180429:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nName = (int)strlen(zName) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:180467:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nName = (int)strlen(zName) + 1;
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:181008:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        iOff = strlen(zDefn);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:181011:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          iOff += strlen(&zDefn[iOff]);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182064:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int n = strlen(z);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182397:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( strlen(p->zSuffix)==p->nSuffix );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:182398:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( strlen(p->zOutput)==p->nOutput );
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:183918: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).
  bDb = (argc==6 && strlen(argv[1])==4 && memcmp("temp", argv[1], 4)==0);
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:183928: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).
    int nDb = strlen(zDb)+1; 
data/mediaconch-18.03.2/Source/ThirdParty/sqlite/sqlite3.c:183929:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nTab = strlen(zTab)+1;

ANALYSIS SUMMARY:

Hits = 621
Lines analyzed = 249292 in approximately 9.56 seconds (26074 lines/second)
Physical Source Lines of Code (SLOC) = 158248
Hits@level = [0] 129 [1] 108 [2] 477 [3]  22 [4]  14 [5]   0
Hits@level+ = [0+] 750 [1+] 621 [2+] 513 [3+]  36 [4+]  14 [5+]   0
Hits/KSLOC@level+ = [0+] 4.7394 [1+] 3.92422 [2+] 3.24175 [3+] 0.227491 [4+] 0.0884687 [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.