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/ifuse-1.1.4/src/ifuse.c FINAL RESULTS: data/ifuse-1.1.4/src/ifuse.c:229:24: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stbuf->st_blocks = atoi(info[i+1]); data/ifuse-1.1.4/src/ifuse.c:247:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). stbuf->st_nlink = atoi(info[i+1]); data/ifuse-1.1.4/src/ifuse.c:369:32: [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 int ifuse_utimens(const char *path, const struct timespec tv[2]) data/ifuse-1.1.4/src/ifuse.c:423:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). g_blocksize = atoi(info_raw[i + 1]); data/ifuse-1.1.4/src/ifuse.c:471:16: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). blocksize = atoi(info_raw[i + 1]); data/ifuse-1.1.4/src/ifuse.c:522:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(linktarget, info[i+1], buflen-1); ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 911 in approximately 0.06 seconds (15765 lines/second) Physical Source Lines of Code (SLOC) = 753 Hits@level = [0] 54 [1] 1 [2] 5 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 60 [1+] 6 [2+] 5 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 79.6813 [1+] 7.96813 [2+] 6.64011 [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.