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/libresample-0.1.3/include/libresample.h Examining data/libresample-0.1.3/src/filterkit.c Examining data/libresample-0.1.3/src/filterkit.h Examining data/libresample-0.1.3/src/resample.c Examining data/libresample-0.1.3/src/resamplesubs.c Examining data/libresample-0.1.3/src/configtemplate.h Examining data/libresample-0.1.3/src/resample_defs.h Examining data/libresample-0.1.3/tests/compareresample.c Examining data/libresample-0.1.3/tests/resample-sndfile.c Examining data/libresample-0.1.3/tests/testresample.c FINAL RESULTS: data/libresample-0.1.3/src/resample.c:61: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(hp->Imp, cpy->Imp, hp->Nwing * sizeof(float)); data/libresample-0.1.3/src/resample.c:63: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(hp->ImpD, cpy->ImpD, hp->Nwing * sizeof(float)); data/libresample-0.1.3/src/resample.c:68: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(hp->X, cpy->X, (hp->XSize + hp->Xoff) * sizeof(float)); data/libresample-0.1.3/src/resample.c:73: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(hp->Y, cpy->Y, hp->YSize * sizeof(float)); ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 1428 in approximately 0.07 seconds (20802 lines/second) Physical Source Lines of Code (SLOC) = 970 Hits@level = [0] 46 [1] 0 [2] 4 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 50 [1+] 4 [2+] 4 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 51.5464 [1+] 4.12371 [2+] 4.12371 [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.