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/libverto-0.3.1/src/module.c
Examining data/libverto-0.3.1/src/module.h
Examining data/libverto-0.3.1/src/verto-glib.c
Examining data/libverto-0.3.1/src/verto-glib.h
Examining data/libverto-0.3.1/src/verto-libev.c
Examining data/libverto-0.3.1/src/verto-libev.h
Examining data/libverto-0.3.1/src/verto-libevent.c
Examining data/libverto-0.3.1/src/verto-libevent.h
Examining data/libverto-0.3.1/src/verto-module.h
Examining data/libverto-0.3.1/src/verto-tevent.c
Examining data/libverto-0.3.1/src/verto-tevent.h
Examining data/libverto-0.3.1/src/verto.c
Examining data/libverto-0.3.1/src/verto.h
Examining data/libverto-0.3.1/tests/child.c
Examining data/libverto-0.3.1/tests/idle.c
Examining data/libverto-0.3.1/tests/read.c
Examining data/libverto-0.3.1/tests/signal.c
Examining data/libverto-0.3.1/tests/test.h
Examining data/libverto-0.3.1/tests/timeout.c
Examining data/libverto-0.3.1/tests/write.c

FINAL RESULTS:

data/libverto-0.3.1/src/module.c:180:14:  [3] (misc) LoadLibraryEx:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    intdll = LoadLibraryEx(filename, NULL, DONT_RESOLVE_DLL_REFERENCES);
data/libverto-0.3.1/src/module.c:203:14:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
    intdll = LoadLibrary(filename);
data/libverto-0.3.1/src/module.c:122: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 tmp[MAX_PATH];
data/libverto-0.3.1/tests/read.c:59: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.
    unsigned char buff[DATALEN];
data/libverto-0.3.1/tests/write.c:74: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.
    unsigned char buff[DATALEN];
data/libverto-0.3.1/src/verto.c:180:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    len = strlen(first) + strlen(second);
data/libverto-0.3.1/src/verto.c:180: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).
    len = strlen(first) + strlen(second);
data/libverto-0.3.1/src/verto.c:182: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).
        len += strlen(third);
data/libverto-0.3.1/src/verto.c:188:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ret, first, strlen(first));
data/libverto-0.3.1/src/verto.c:188: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).
    strncpy(ret, first, strlen(first));
data/libverto-0.3.1/src/verto.c:189:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ret + strlen(first), second, strlen(second));
data/libverto-0.3.1/src/verto.c:189: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).
    strncpy(ret + strlen(first), second, strlen(second));
data/libverto-0.3.1/src/verto.c:189: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).
    strncpy(ret + strlen(first), second, strlen(second));
data/libverto-0.3.1/src/verto.c:191:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(ret + strlen(first) + strlen(second), third, strlen(third));
data/libverto-0.3.1/src/verto.c:191: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).
        strncpy(ret + strlen(first) + strlen(second), third, strlen(third));
data/libverto-0.3.1/src/verto.c:191: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).
        strncpy(ret + strlen(first) + strlen(second), third, strlen(third));
data/libverto-0.3.1/src/verto.c:191:62:  [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).
        strncpy(ret + strlen(first) + strlen(second), third, strlen(third));
data/libverto-0.3.1/src/verto.c:350: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).
        flen = strlen(ent->d_name);
data/libverto-0.3.1/src/verto.c:351: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).
        slen = strlen(suffix);
data/libverto-0.3.1/src/verto.c:424: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 (!suffix || strlen(suffix) < 1 || !(suffix = strdup(suffix))) {
data/libverto-0.3.1/src/verto.c:429:5:  [1] (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 character.
    strcpy(prefix + strlen(prefix) - strlen(suffix), "-");
data/libverto-0.3.1/src/verto.c:429: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).
    strcpy(prefix + strlen(prefix) - strlen(suffix), "-");
data/libverto-0.3.1/src/verto.c:429: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).
    strcpy(prefix + strlen(prefix) - strlen(suffix), "-");
data/libverto-0.3.1/tests/child.c:90: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); /* 0.05 seconds */
data/libverto-0.3.1/tests/read.c:66:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bytes = read(fd, buff, DATALEN);
data/libverto-0.3.1/tests/signal.c:86: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(10000); /* 0.01 seconds */
data/libverto-0.3.1/tests/signal.c:88: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(10000); /* 0.01 seconds */
data/libverto-0.3.1/tests/signal.c:90: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(10000); /* 0.01 seconds */
data/libverto-0.3.1/tests/write.c:77:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    assert(read(fd, buff, DATALEN) == DATALEN);

ANALYSIS SUMMARY:

Hits = 29
Lines analyzed = 3892 in approximately 0.11 seconds (34783 lines/second)
Physical Source Lines of Code (SLOC) = 2349
Hits@level = [0]  20 [1]  24 [2]   3 [3]   2 [4]   0 [5]   0
Hits@level+ = [0+]  49 [1+]  29 [2+]   5 [3+]   2 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 20.8599 [1+] 12.3457 [2+] 2.12857 [3+] 0.851426 [4+]   0 [5+]   0
Dot directories skipped = 2 (--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.