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-greenlet-0.4.17/greenlet.c Examining data/python-greenlet-0.4.17/greenlet.h Examining data/python-greenlet-0.4.17/platform/switch_aarch64_gcc.h Examining data/python-greenlet-0.4.17/platform/switch_alpha_unix.h Examining data/python-greenlet-0.4.17/platform/switch_amd64_unix.h Examining data/python-greenlet-0.4.17/platform/switch_arm32_gcc.h Examining data/python-greenlet-0.4.17/platform/switch_arm32_ios.h Examining data/python-greenlet-0.4.17/platform/switch_csky_gcc.h Examining data/python-greenlet-0.4.17/platform/switch_m68k_gcc.h Examining data/python-greenlet-0.4.17/platform/switch_mips_unix.h Examining data/python-greenlet-0.4.17/platform/switch_ppc64_linux.h Examining data/python-greenlet-0.4.17/platform/switch_ppc_aix.h Examining data/python-greenlet-0.4.17/platform/switch_ppc_linux.h Examining data/python-greenlet-0.4.17/platform/switch_ppc_macosx.h Examining data/python-greenlet-0.4.17/platform/switch_ppc_unix.h Examining data/python-greenlet-0.4.17/platform/switch_riscv_unix.h Examining data/python-greenlet-0.4.17/platform/switch_s390_unix.h Examining data/python-greenlet-0.4.17/platform/switch_sparc_sun_gcc.h Examining data/python-greenlet-0.4.17/platform/switch_x32_unix.h Examining data/python-greenlet-0.4.17/platform/switch_x64_msvc.h Examining data/python-greenlet-0.4.17/platform/switch_x86_msvc.h Examining data/python-greenlet-0.4.17/platform/switch_x86_unix.h Examining data/python-greenlet-0.4.17/slp_platformselect.h Examining data/python-greenlet-0.4.17/tests/_test_extension.c Examining data/python-greenlet-0.4.17/tests/_test_extension_cpp.cpp FINAL RESULTS: data/python-greenlet-0.4.17/greenlet.c:411: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(c+sz1, g->stack_start+sz1, sz2-sz1); data/python-greenlet-0.4.17/greenlet.c:429: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(g->stack_start, g->stack_copy, g->stack_saved); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 3801 in approximately 0.12 seconds (31105 lines/second) Physical Source Lines of Code (SLOC) = 2515 Hits@level = [0] 0 [1] 0 [2] 2 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 2 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.795229 [1+] 0.795229 [2+] 0.795229 [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.