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/jsonrpc-glib-3.38.0/src/jsonrpc-client.c Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-client.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-glib.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-input-stream-private.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-input-stream.c Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-input-stream.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-message.c Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-message.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-output-stream.c Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-output-stream.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-server.c Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-server.h Examining data/jsonrpc-glib-3.38.0/src/jsonrpc-version-macros.h Examining data/jsonrpc-glib-3.38.0/tests/test-gauntlet.c Examining data/jsonrpc-glib-3.38.0/tests/test-message.c Examining data/jsonrpc-glib-3.38.0/tests/test-server.c Examining data/jsonrpc-glib-3.38.0/tests/test-stress.c FINAL RESULTS: data/jsonrpc-glib-3.38.0/src/jsonrpc-message.h:30: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 bytes[8]; ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 5491 in approximately 0.15 seconds (35928 lines/second) Physical Source Lines of Code (SLOC) = 3574 Hits@level = [0] 0 [1] 0 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 1 [1+] 1 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.279799 [1+] 0.279799 [2+] 0.279799 [3+] 0 [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.