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/fuse-umfuse-iso9660-0.3/v2fuseutils.c Examining data/fuse-umfuse-iso9660-0.3/zisofs.h Examining data/fuse-umfuse-iso9660-0.3/v2fuseutils.h Examining data/fuse-umfuse-iso9660-0.3/fuseiso9660.c FINAL RESULTS: data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:191:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(filename,p_statbuf->filename); data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:185:5: [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 filename[4096]; data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:216:23: [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. static const unsigned char zisofs_magic[8] = { data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:245: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 cdbuf[ISO_BLOCKSIZE]; data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:255: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(buf,cdbuf+offset,len); data/fuse-umfuse-iso9660-0.3/zisofs.h:25: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 magic[8]; data/fuse-umfuse-iso9660-0.3/zisofs.h:26: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 uncompressed_len[4]; data/fuse-umfuse-iso9660-0.3/zisofs.h:29: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 reserved[2]; /* Reserved for future use, MBZ */ data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:147:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf,isostat->rr.psz_symlink,size); data/fuse-umfuse-iso9660-0.3/fuseiso9660.c:150:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buf,isostat->rr.psz_symlink,size); ANALYSIS SUMMARY: Hits = 10 Lines analyzed = 834 in approximately 0.04 seconds (21437 lines/second) Physical Source Lines of Code (SLOC) = 640 Hits@level = [0] 3 [1] 2 [2] 7 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 13 [1+] 10 [2+] 8 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 20.3125 [1+] 15.625 [2+] 12.5 [3+] 1.5625 [4+] 1.5625 [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.