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/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/findOverlaps.c Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/gtf.c Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/gtf.h Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/hashTable.c Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kseq.h Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/murmur3.c Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/murmur3.h Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/tree.c Examining data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/tree.h FINAL RESULTS: data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kseq.h:130:4: [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(str->s + str->l, ks->buf + ks->begin, i - ks->begin); \ data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h:143:2: [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(s->s + s->l, p, l); data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h:196:2: [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(s->s + s->l, p, l); data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h:203: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 buf[16]; data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h:225: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 buf[16]; data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h:246: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 buf[32]; data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/hashTable.c:9:15: [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). int len = strlen(s); data/python-deeptoolsintervals-0.1.9/deeptoolsintervals/tree/kstring.h:151:19: [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 kputsn(p, strlen(p), s); ANALYSIS SUMMARY: Hits = 8 Lines analyzed = 3017 in approximately 0.11 seconds (27469 lines/second) Physical Source Lines of Code (SLOC) = 2317 Hits@level = [0] 14 [1] 2 [2] 6 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 22 [1+] 8 [2+] 6 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 9.49504 [1+] 3.45274 [2+] 2.58956 [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.