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/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVPhoneticLib.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVStringToolKit.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVSQLite3.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVPhoneticLib.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVOSDef.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVStringToolKit.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCIN.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVKeySequence.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVFileHandler.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCIN.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVFileHandler.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/CIN-Defaults.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/CIN-Defaults.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OpenVanilla.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVStringHelper.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVWildcard.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVLibrary.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUTF8Helper.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Source/FrameworkStub.cpp
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OpenVanilla.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVStringHelper.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVWildcard.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVLibrary.h
Examining data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUTF8Helper.h

FINAL RESULTS:

data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:104:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(OV_USERDIR_PRE, "%s\\%s", OV_USERDIR_PRE, "OpenVanilla\\");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:108:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(OV_USERDIR_PRE, "%s\\%s", OV_BASEDIR_PRE, "User\\");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:111:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(OV_WIN32_DEBUG_LOG_PATH, "%s\\%s", OV_USERDIR_PRE, "orz.txt");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:118:4:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			vfprintf (fp, format, args);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:126:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf (stderr, format, args);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:104:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(OV_USERDIR_PRE, "%s\\%s", OV_USERDIR_PRE, "OpenVanilla\\");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:108:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(OV_USERDIR_PRE, "%s\\%s", OV_BASEDIR_PRE, "User\\");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:111:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(OV_WIN32_DEBUG_LOG_PATH, "%s\\%s", OV_USERDIR_PRE, "orz.txt");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:118:4:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			vfprintf (fp, format, args);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:126:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		vfprintf (stderr, format, args);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp:45:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(selkey, skey);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVPhoneticLib.cpp:229:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(rc->candidates[c++], p);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h:507:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            const char* homePath = getenv("HOME");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h:507:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            const char* homePath = getenv("HOME");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h:60:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            return fopen(filename.c_str(), mode.c_str());
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h:71:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(filename.c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h:73:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(OVUTF16::FromUTF8(filename).c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h:81:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(filename.c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVFileHelper.h:83:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(OVUTF16::FromUTF8(filename).c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char OV_BASEDIR_PRE[MAX_PATH];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:92: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 OV_USERDIR_PRE[MAX_PATH];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:96:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(OV_BASEDIR_PRE, "C:\\OpenVanilla\\");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:110: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 OV_WIN32_DEBUG_LOG_PATH[MAX_PATH];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/Headers/OVUtility.h:115:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (fp=fopen(OV_WIN32_DEBUG_LOG_PATH, "a")) {
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h:60:20:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            return fopen(filename.c_str(), mode.c_str());
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h:71:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(filename.c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h:73:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(OVUTF16::FromUTF8(filename).c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h:81:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(filename.c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVFileHelper.h:83:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            stream.open(OVUTF16::FromUTF8(filename).c_str(), openMode);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:91:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char OV_BASEDIR_PRE[MAX_PATH];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:92: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 OV_USERDIR_PRE[MAX_PATH];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:96:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(OV_BASEDIR_PRE, "C:\\OpenVanilla\\");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:110: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 OV_WIN32_DEBUG_LOG_PATH[MAX_PATH];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Frameworks/OpenVanilla/OpenVanilla/OVUtility.h:115:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		if (fp=fopen(OV_WIN32_DEBUG_LOG_PATH, "a")) {
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp:301: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 cbuf[2];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp:303:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(cbuf, "%c", toupper(key->code()));
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp:305:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
                sprintf(cbuf, "%c", tolower(key->code()));
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp:369: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 sb[2];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/OVIMGeneric/OVIMGeneric.cpp:370:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(sb, "%c", key->code());
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCIN.cpp:46:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *propertyNames[NUM_PROPERTY] = {
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCIN.cpp:50:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *mapNames[NUM_MAP] = {
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp:180:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *in=fopen(longname.c_str(), "r");
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp:192: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[bs];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp:57:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[256];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp:65:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (buf, "%c.", selkey[j]);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp:75:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf (buf, "(%d/%d)", currentpage, totalpage);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.h:66: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 selkey[32];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVFileHandler.cpp:136: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 ((fd = open (file_name, O_RDONLY)) < 0)  {
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVKeySequence.h:79: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 seq[ovMaxSeqSimpLen];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVPhoneticLib.cpp:78:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, candistr + f->candistrpos, l*sizeof(unsigned short));
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVPhoneticLib.cpp:343:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char vpComposeBuffer[32];
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVSQLite3.h:60: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).
    int open(const char *f)     { return sqlite3_open(f, &handle); }
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp:86: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 p=strlen(entry->d_name)-strlen(selectfilter);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp:86:37:  [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 p=strlen(entry->d_name)-strlen(selectfilter);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp:97:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t p=strlen(entry.cFileName)-strlen(selectfilter);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCINInfo.cpp:97:42:  [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 p=strlen(entry.cFileName)-strlen(selectfilter);
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVCandidateList.cpp:46: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).
    perpage=static_cast<int>(strlen(selkey));
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVFileHandler.cpp:165: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).
    return munmap(m_mmapPtr, strlen(static_cast<char*>(m_mmapPtr)));
data/openvanilla-modules-0.9.0a1.3+dfsg1/Modules/SharedLibrary/OVPhoneticLib.cpp:228:37:  [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->candidates[c]=new char [strlen(p)+1];

ANALYSIS SUMMARY:

Hits = 59
Lines analyzed = 6125 in approximately 0.24 seconds (25392 lines/second)
Physical Source Lines of Code (SLOC) = 4042
Hits@level = [0]   6 [1]   7 [2]  38 [3]   2 [4]  12 [5]   0
Hits@level+ = [0+]  65 [1+]  59 [2+]  52 [3+]  14 [4+]  12 [5+]   0
Hits/KSLOC@level+ = [0+] 16.0811 [1+] 14.5967 [2+] 12.8649 [3+] 3.46363 [4+] 2.96883 [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.