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/erlang-cl-1.2.4/c_src/cl_hash.c
Examining data/erlang-cl-1.2.4/c_src/cl_hash.h
Examining data/erlang-cl-1.2.4/c_src/cl_nif.c
Examining data/erlang-cl-1.2.4/c_src/ecl_types.h

FINAL RESULTS:

data/erlang-cl-1.2.4/c_src/cl_nif.c:2005:5:  [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, fmt, ap);
data/erlang-cl-1.2.4/c_src/cl_nif.c:7358:10:  [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.
  return LoadLibrary(DLL);
data/erlang-cl-1.2.4/c_src/cl_nif.c:3125: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 buf[MAX_INFO_SIZE];
data/erlang-cl-1.2.4/c_src/cl_nif.c:4345: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 kernel_names[MAX_KERNEL_NAME];
data/erlang-cl-1.2.4/c_src/cl_nif.c:4435: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             options[MAX_OPTION_LIST];
data/erlang-cl-1.2.4/c_src/cl_nif.c:4520: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             options[MAX_OPTION_LIST];
data/erlang-cl-1.2.4/c_src/cl_nif.c:4610: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             options[MAX_OPTION_LIST];
data/erlang-cl-1.2.4/c_src/cl_nif.c:4890: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 kernel_name[MAX_KERNEL_NAME];
data/erlang-cl-1.2.4/c_src/cl_nif.c:4960: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 arg_buf[16*sizeof(double)]; // vector type buffer
data/erlang-cl-1.2.4/c_src/cl_nif.c:6748:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char             version[128];
data/erlang-cl-1.2.4/c_src/cl_nif.c:1078:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
DECL_ATOM(read);
data/erlang-cl-1.2.4/c_src/cl_nif.c:1304:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    { &ATOM(read), CL_MAP_READ },
data/erlang-cl-1.2.4/c_src/cl_nif.c:3000: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).
	return enif_make_string_len(env, (char*) ptr, strlen((char*) ptr), ERL_NIF_LATIN1);
data/erlang-cl-1.2.4/c_src/cl_nif.c:7235:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    LOAD_ATOM(read);

ANALYSIS SUMMARY:

Hits = 14
Lines analyzed = 8201 in approximately 0.20 seconds (41341 lines/second)
Physical Source Lines of Code (SLOC) = 6714
Hits@level = [0]  19 [1]   4 [2]   8 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]  33 [1+]  14 [2+]  10 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 4.9151 [1+] 2.0852 [2+] 1.48943 [3+] 0.297885 [4+] 0.148943 [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.