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/qpack-0.0.18/qpack/_qpack.c FINAL RESULTS: data/qpack-0.0.18/qpack/_qpack.c:333:9: [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(packer->buffer + packer->len, &length, sizeof(uint16_t)); data/qpack-0.0.18/qpack/_qpack.c:340:9: [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(packer->buffer + packer->len, &length, sizeof(uint32_t)); data/qpack-0.0.18/qpack/_qpack.c:347:9: [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(packer->buffer + packer->len, &length, sizeof(uint64_t)); data/qpack-0.0.18/qpack/_qpack.c:351:5: [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(packer->buffer + packer->len, buffer, size); data/qpack-0.0.18/qpack/_qpack.c:534:13: [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(packer->buffer + packer->len, &i16, sizeof(int16_t)); data/qpack-0.0.18/qpack/_qpack.c:544:13: [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(packer->buffer + packer->len, &i32, sizeof(int32_t)); data/qpack-0.0.18/qpack/_qpack.c:552:9: [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(packer->buffer + packer->len, &i64, sizeof(int64_t)); data/qpack-0.0.18/qpack/_qpack.c:580:13: [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(packer->buffer + packer->len, &d, sizeof(double)); data/qpack-0.0.18/qpack/_qpack.c:946:13: [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(&d, *pt, sizeof(double)); ANALYSIS SUMMARY: Hits = 9 Lines analyzed = 1280 in approximately 0.05 seconds (28019 lines/second) Physical Source Lines of Code (SLOC) = 1120 Hits@level = [0] 0 [1] 0 [2] 9 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 9 [1+] 9 [2+] 9 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 8.03571 [1+] 8.03571 [2+] 8.03571 [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.