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/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser/parser.c Examining data/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen/dlopen.c Examining data/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder/encoder.c FINAL RESULTS: data/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen/dlopen.c:17:38: [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. # define dlopen(name,flag) ((void*)LoadLibrary(name)) data/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser/parser.c:86: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, numberVal, numberLen); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 674 in approximately 0.04 seconds (15719 lines/second) Physical Source Lines of Code (SLOC) = 527 Hits@level = [0] 0 [1] 0 [2] 1 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 2 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 3.79507 [1+] 3.79507 [2+] 3.79507 [3+] 1.89753 [4+] 0 [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.