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-neuroshare-0.9.2/capi/nsAPIdllimp.h Examining data/python-neuroshare-0.9.2/capi/nsAPItypes.h Examining data/python-neuroshare-0.9.2/capi/nspy_glue.c FINAL RESULTS: data/python-neuroshare-0.9.2/capi/nspy_glue.c:275:12: [3] (misc) LoadLibraryEx: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. handle = LoadLibraryEx (filename, 0, 0); data/python-neuroshare-0.9.2/capi/nsAPItypes.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 szDescription[32]; // Text description of the file type or file family data/python-neuroshare-0.9.2/capi/nsAPItypes.h:204: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 szExtension[8]; // Extension used on PC, Linux, and Unix Platforms data/python-neuroshare-0.9.2/capi/nsAPItypes.h:205: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 szMacCodes[8]; // Application and Type Codes used on Mac Platforms data/python-neuroshare-0.9.2/capi/nsAPItypes.h:206: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 szMagicCode[16]; // Null-terminated code used at the file beginning data/python-neuroshare-0.9.2/capi/nsAPItypes.h:216: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 szDescription[64]; // Text description of the library data/python-neuroshare-0.9.2/capi/nsAPItypes.h:217: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 szCreator[64]; // Name of library creator data/python-neuroshare-0.9.2/capi/nsAPItypes.h:230: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 szFileType[32]; // Manufacturer's file type descriptor data/python-neuroshare-0.9.2/capi/nsAPItypes.h:234: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 szAppName[64]; // Name of the application that created the file data/python-neuroshare-0.9.2/capi/nsAPItypes.h:243: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 szFileComment[256]; // Comments embedded in the source file data/python-neuroshare-0.9.2/capi/nsAPItypes.h:249: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 szEntityLabel[32]; // Specifies the label or name of the entity data/python-neuroshare-0.9.2/capi/nsAPItypes.h:260: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 szCSVDesc[128]; // Description of the data fields for CSV Event Entities data/python-neuroshare-0.9.2/capi/nsAPItypes.h:269: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 szUnits[16]; // Specifies the recording units of measurement data/python-neuroshare-0.9.2/capi/nsAPItypes.h:277: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 szHighFilterType[16]; // Type of filter used for high frequency cutoff (text format) data/python-neuroshare-0.9.2/capi/nsAPItypes.h:280: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 szLowFilterType[16]; // Type of filter used for low frequency cutoff (text format) data/python-neuroshare-0.9.2/capi/nsAPItypes.h:281: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 szProbeInfo[128]; // Additional text information about the signal source data/python-neuroshare-0.9.2/capi/nsAPItypes.h:291: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 szUnits[32]; // Specifies the recording units of measurement data/python-neuroshare-0.9.2/capi/nsAPItypes.h:307: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 szHighFilterType[16]; // Type of filter used for high frequency cutoff (text format) data/python-neuroshare-0.9.2/capi/nsAPItypes.h:310: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 szLowFilterType[16]; // Type of filter used for low frequency cutoff (text format) data/python-neuroshare-0.9.2/capi/nsAPItypes.h:311: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 szProbeInfo[128]; // Additional text information about the signal source data/python-neuroshare-0.9.2/capi/nsAPItypes.h:319: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 szProbeInfo[128]; // Additional probe text information or source entity label data/python-neuroshare-0.9.2/capi/nspy_glue.c:166: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 buf[1024] = {0, }; data/python-neuroshare-0.9.2/capi/nspy_glue.c:239: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 buf_str[1024] = {0,}; ANALYSIS SUMMARY: Hits = 23 Lines analyzed = 2218 in approximately 0.06 seconds (36633 lines/second) Physical Source Lines of Code (SLOC) = 1251 Hits@level = [0] 1 [1] 0 [2] 22 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 24 [1+] 23 [2+] 23 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 19.1847 [1+] 18.3853 [2+] 18.3853 [3+] 0.799361 [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.