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/pcapy-0.11.4/bpfobj.cc Examining data/pcapy-0.11.4/bpfobj.h Examining data/pcapy-0.11.4/pcap_pkthdr.cc Examining data/pcapy-0.11.4/pcap_pkthdr.h Examining data/pcapy-0.11.4/pcapdumper.cc Examining data/pcapy-0.11.4/pcapdumper.h Examining data/pcapy-0.11.4/pcapobj.cc Examining data/pcapy-0.11.4/pcapobj.h Examining data/pcapy-0.11.4/pcapy.cc Examining data/pcapy-0.11.4/pcapy.h Examining data/pcapy-0.11.4/win32/dllmain.cc FINAL RESULTS: data/pcapy-0.11.4/pcapobj.cc:250: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 ip_str[20]; data/pcapy-0.11.4/pcapobj.cc:267: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 ip_str[20]; data/pcapy-0.11.4/pcapobj.cc:589: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 errbuf[PCAP_ERRBUF_SIZE]; data/pcapy-0.11.4/pcapobj.cc:611: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 errbuf[PCAP_ERRBUF_SIZE]; data/pcapy-0.11.4/pcapy.cc:29: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 errbuff[PCAP_ERRBUF_SIZE]; data/pcapy-0.11.4/pcapy.cc:45: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 errbuff[PCAP_ERRBUF_SIZE]; data/pcapy-0.11.4/pcapy.cc:77: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 errbuff[PCAP_ERRBUF_SIZE]; data/pcapy-0.11.4/pcapy.cc:118: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 errbuff[PCAP_ERRBUF_SIZE]; data/pcapy-0.11.4/pcapy.cc:153: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 errbuff[PCAP_ERRBUF_SIZE]; ANALYSIS SUMMARY: Hits = 9 Lines analyzed = 1893 in approximately 0.10 seconds (18215 lines/second) Physical Source Lines of Code (SLOC) = 1427 Hits@level = [0] 1 [1] 0 [2] 9 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 10 [1+] 9 [2+] 9 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 7.00771 [1+] 6.30694 [2+] 6.30694 [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.