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/nibabel-3.1.1/doc/source/external/nifti1.h FINAL RESULTS: data/nibabel-3.1.1/doc/source/external/nifti1.h:149: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 data_type[10]; /*!< ++UNUSED++ */ /* char data_type[10]; */ data/nibabel-3.1.1/doc/source/external/nifti1.h:150: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 db_name[18]; /*!< ++UNUSED++ */ /* char db_name[18]; */ data/nibabel-3.1.1/doc/source/external/nifti1.h:183: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 descrip[80]; /*!< any text you like. */ /* char descrip[80]; */ data/nibabel-3.1.1/doc/source/external/nifti1.h:184: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 aux_file[24]; /*!< auxiliary filename. */ /* char aux_file[24]; */ data/nibabel-3.1.1/doc/source/external/nifti1.h:200: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 intent_name[16];/*!< 'name' or meaning of data. */ data/nibabel-3.1.1/doc/source/external/nifti1.h:202: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 magic[4] ; /*!< MUST be "ni1\0" or "n+1\0". */ data/nibabel-3.1.1/doc/source/external/nifti1.h:287:26: [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. struct nifti1_extender { char extension[4] ; } ; ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 1490 in approximately 0.16 seconds (9202 lines/second) Physical Source Lines of Code (SLOC) = 202 Hits@level = [0] 0 [1] 0 [2] 7 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 7 [2+] 7 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 34.6535 [1+] 34.6535 [2+] 34.6535 [3+] 0 [4+] 0 [5+] 0 Symlinks skipped = 1 (--allowlink overrides but see doc for security issue) Dot directories skipped = 3 (--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.