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/fuse3-3.10.0/example/ioctl_client.c
Examining data/fuse3-3.10.0/example/passthrough_fh.c
Examining data/fuse3-3.10.0/example/poll_client.c
Examining data/fuse3-3.10.0/example/notify_inval_entry.c
Examining data/fuse3-3.10.0/example/passthrough_ll.c
Examining data/fuse3-3.10.0/example/invalidate_path.c
Examining data/fuse3-3.10.0/example/passthrough_hp.cc
Examining data/fuse3-3.10.0/example/ioctl.h
Examining data/fuse3-3.10.0/example/passthrough_helpers.h
Examining data/fuse3-3.10.0/example/cuse.c
Examining data/fuse3-3.10.0/example/hello_ll.c
Examining data/fuse3-3.10.0/example/ioctl.c
Examining data/fuse3-3.10.0/example/passthrough.c
Examining data/fuse3-3.10.0/example/printcap.c
Examining data/fuse3-3.10.0/example/cuse_client.c
Examining data/fuse3-3.10.0/example/notify_store_retrieve.c
Examining data/fuse3-3.10.0/example/null.c
Examining data/fuse3-3.10.0/example/notify_inval_inode.c
Examining data/fuse3-3.10.0/example/poll.c
Examining data/fuse3-3.10.0/example/hello.c
Examining data/fuse3-3.10.0/example/cxxopts.hpp
Examining data/fuse3-3.10.0/util/mount.fuse.c
Examining data/fuse3-3.10.0/util/fusermount.c
Examining data/fuse3-3.10.0/test/wrong_command.c
Examining data/fuse3-3.10.0/test/test_syscalls.c
Examining data/fuse3-3.10.0/test/stracedecode.c
Examining data/fuse3-3.10.0/test/test_write_cache.c
Examining data/fuse3-3.10.0/test/test_setattr.c
Examining data/fuse3-3.10.0/include/cuse_lowlevel.h
Examining data/fuse3-3.10.0/include/fuse_lowlevel.h
Examining data/fuse3-3.10.0/include/fuse.h
Examining data/fuse3-3.10.0/include/fuse_common.h
Examining data/fuse3-3.10.0/include/fuse_kernel.h
Examining data/fuse3-3.10.0/include/fuse_log.h
Examining data/fuse3-3.10.0/include/fuse_opt.h
Examining data/fuse3-3.10.0/lib/fuse_signals.c
Examining data/fuse3-3.10.0/lib/fuse_loop.c
Examining data/fuse3-3.10.0/lib/mount_bsd.c
Examining data/fuse3-3.10.0/lib/fuse_lowlevel.c
Examining data/fuse3-3.10.0/lib/modules/iconv.c
Examining data/fuse3-3.10.0/lib/modules/subdir.c
Examining data/fuse3-3.10.0/lib/fuse_opt.c
Examining data/fuse3-3.10.0/lib/fuse_loop_mt.c
Examining data/fuse3-3.10.0/lib/fuse_misc.h
Examining data/fuse3-3.10.0/lib/fuse_i.h
Examining data/fuse3-3.10.0/lib/cuse_lowlevel.c
Examining data/fuse3-3.10.0/lib/buffer.c
Examining data/fuse3-3.10.0/lib/mount_util.c
Examining data/fuse3-3.10.0/lib/fuse.c
Examining data/fuse3-3.10.0/lib/helper.c
Examining data/fuse3-3.10.0/lib/fuse_log.c
Examining data/fuse3-3.10.0/lib/mount_util.h
Examining data/fuse3-3.10.0/lib/mount.c

FINAL RESULTS:

data/fuse3-3.10.0/example/passthrough.c:106:8:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	res = readlink(path, buf, size - 1);
data/fuse3-3.10.0/example/passthrough.c:229:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	res = chmod(path, mode);
data/fuse3-3.10.0/example/passthrough_fh.c:107:8:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	res = readlink(path, buf, size - 1);
data/fuse3-3.10.0/example/passthrough_fh.c:308:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		res = chmod(path, mode);
data/fuse3-3.10.0/example/passthrough_hp.cc:231:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
            res = chmod(procname, attr->st_mode);
data/fuse3-3.10.0/example/passthrough_ll.c:204:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
			res = chmod(procname, attr->st_mode);
data/fuse3-3.10.0/include/fuse.h:321:8:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	int (*readlink) (const char *, char *, size_t);
data/fuse3-3.10.0/include/fuse.h:367:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	int (*chmod) (const char *, mode_t, struct fuse_file_info *fi);
data/fuse3-3.10.0/include/fuse.h:377:8:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	int (*chown) (const char *, uid_t, gid_t, struct fuse_file_info *fi);
data/fuse3-3.10.0/include/fuse_lowlevel.h:318:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	void (*readlink) (fuse_req_t req, fuse_ino_t ino);
data/fuse3-3.10.0/lib/fuse.c:2128:13:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
	if (fs->op.chown) {
data/fuse3-3.10.0/lib/fuse.c:2135:17:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
		return fs->op.chown(path, uid, gid, fi);
data/fuse3-3.10.0/lib/fuse.c:2193:13:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	if (fs->op.readlink) {
data/fuse3-3.10.0/lib/fuse.c:2198:17:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		return fs->op.readlink(path, buf, len);
data/fuse3-3.10.0/lib/fuse.c:2810:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	if (fs->op.chmod) {
data/fuse3-3.10.0/lib/fuse.c:2817:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		return fs->op.chmod(path, mode, fi);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1196:18:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	if (req->se->op.readlink)
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1197:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
		req->se->op.readlink(req, nodeid);
data/fuse3-3.10.0/test/test_syscalls.c:1175:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	res = chmod(testfile, mode);
data/fuse3-3.10.0/test/test_syscalls.c:1228:8:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
	res = readlink(testfile2, buf, sizeof(buf));
data/fuse3-3.10.0/example/passthrough.c:95:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	res = access(path, mask);
data/fuse3-3.10.0/example/passthrough_fh.c:96:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	res = access(path, mask);
data/fuse3-3.10.0/include/fuse.h:597:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	int (*access) (const char *, int);
data/fuse3-3.10.0/include/fuse_lowlevel.h:897:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	void (*access) (fuse_req_t req, fuse_ino_t ino, int mask);
data/fuse3-3.10.0/lib/fuse.c:262:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "libfusemod_%s.so", module);
data/fuse3-3.10.0/lib/fuse.c:276:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmp, "fuse_module_%s_factory", module);
data/fuse3-3.10.0/lib/fuse.c:800:3:  [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(node->inline_name, name);
data/fuse3-3.10.0/lib/fuse.c:2179:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (fs->op.access) {
data/fuse3-3.10.0/lib/fuse.c:2183:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		return fs->op.access(path, mask);
data/fuse3-3.10.0/lib/fuse_log.c:20:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, ap);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1186:18:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (req->se->op.access)
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1187:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		req->se->op.access(req, nodeid, arg->mask);
data/fuse3-3.10.0/lib/fuse_opt.c:220:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
		if (sscanf(param, format, var) != 1) {
data/fuse3-3.10.0/lib/fuse_opt.c:267:2:  [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(newarg + sep, param);
data/fuse3-3.10.0/lib/helper.c:193:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(subtype_opt, "-ofsname=%s", basename);
data/fuse3-3.10.0/lib/helper.c:195:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(subtype_opt, "-osubtype=%s", basename);
data/fuse3-3.10.0/lib/modules/subdir.c:43:3:  [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(newpath, d->base);
data/fuse3-3.10.0/lib/modules/subdir.c:44:3:  [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(newpath + d->baselen, path);
data/fuse3-3.10.0/lib/mount.c:119:2:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execv(FUSERMOUNT_DIR "/" FUSERMOUNT_PROG, (char **) argv);
data/fuse3-3.10.0/lib/mount.c:120:2:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execvp(FUSERMOUNT_PROG, (char **) argv);
data/fuse3-3.10.0/lib/mount.c:442:2:  [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(type, mo->blkdev ? "fuseblk" : "fuse");
data/fuse3-3.10.0/lib/mount.c:445:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(type, mo->subtype);
data/fuse3-3.10.0/lib/mount.c:447:2:  [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(source,
data/fuse3-3.10.0/lib/mount.c:453:3:  [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(type, mo->blkdev ? "fuseblk" : "fuse");
data/fuse3-3.10.0/lib/mount.c:456:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(source, "%s#%s", mo->subtype,
data/fuse3-3.10.0/lib/mount.c:459:4:  [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(source, type);
data/fuse3-3.10.0/lib/mount_bsd.c:103:2:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	system(FUSERMOUNT_PROG " --version");
data/fuse3-3.10.0/lib/mount_bsd.c:241:4:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execvp(mountprog, (char **) argv);
data/fuse3-3.10.0/lib/mount_util.c:72:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		res = access(_PATH_MOUNTED, W_OK);
data/fuse3-3.10.0/lib/mount_util.c:117:3:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execle("/bin/mount", "/bin/mount", "--no-canonicalize", "-i",
data/fuse3-3.10.0/lib/mount_util.c:177:4:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execle("/bin/umount", "/bin/umount", "-i", rel_mnt,
data/fuse3-3.10.0/lib/mount_util.c:180:4:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			execle("/bin/umount", "/bin/umount", "-i", rel_mnt,
data/fuse3-3.10.0/lib/mount_util.c:248:3:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		execle("/bin/umount", "/bin/umount", "--no-canonicalize", "-i",
data/fuse3-3.10.0/lib/mount_util.c:330:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(dst, "%s%s", buf, lastcomp);
data/fuse3-3.10.0/lib/mount_util.c:332:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(dst, "%s/%s", buf, lastcomp);
data/fuse3-3.10.0/test/test_setattr.c:138:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    assert(snprintf(fname, PATH_MAX, "%s/" FILE_NAME,
data/fuse3-3.10.0/test/test_syscalls.c:58:26:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	__attribute__ ((format (printf, 2, 3)));
data/fuse3-3.10.0/test/test_syscalls.c:61:26:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	__attribute__ ((format (printf, 1, 2)));
data/fuse3-3.10.0/test/test_syscalls.c:68:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, msg, ap);
data/fuse3-3.10.0/test/test_syscalls.c:89:7:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	n += vsprintf(testname + n, fmt, ap);
data/fuse3-3.10.0/test/test_syscalls.c:507:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(fpath, "%s/%s", path, dir_files[i]);
data/fuse3-3.10.0/test/test_syscalls.c:540:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(fpath, "%s/%s", path, dir_files[i]);
data/fuse3-3.10.0/test/test_syscalls.c:1871:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testfile, "%s/testfile", basepath);
data/fuse3-3.10.0/test/test_syscalls.c:1872:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testfile2, "%s/testfile2", basepath);
data/fuse3-3.10.0/test/test_syscalls.c:1873:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testdir, "%s/testdir", basepath);
data/fuse3-3.10.0/test/test_syscalls.c:1874:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testdir2, "%s/testdir2", basepath);
data/fuse3-3.10.0/test/test_syscalls.c:1875:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(subfile, "%s/subfile", testdir2);
data/fuse3-3.10.0/test/test_syscalls.c:1876:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testsock, "%s/testsock", basepath);
data/fuse3-3.10.0/test/test_syscalls.c:1878:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testfile_r, "%s/testfile", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1879:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testfile2_r, "%s/testfile2", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1880:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testdir_r, "%s/testdir", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1881:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(testdir2_r, "%s/testdir2", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1882:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(subfile_r, "%s/subfile", testdir2_r);
data/fuse3-3.10.0/test/test_write_cache.c:168:12:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    assert(snprintf(fname, PATH_MAX, "%s/" FILE_NAME,
data/fuse3-3.10.0/util/fusermount.c:654:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newopts + oldsize, ",%s", opt);
data/fuse3-3.10.0/util/fusermount.c:691:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(*mnt_optsp, user);
data/fuse3-3.10.0/util/fusermount.c:864:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(type, "%s.%s", blkdev ? "fuseblk" : "fuse", subtype);
data/fuse3-3.10.0/util/fusermount.c:866:3:  [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(type, blkdev ? "fuseblk" : "fuse");
data/fuse3-3.10.0/util/fusermount.c:869:3:  [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(source, fsname);
data/fuse3-3.10.0/util/fusermount.c:871:3:  [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(source, subtype ? subtype : dev);
data/fuse3-3.10.0/util/fusermount.c:876:3:  [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(type, blkdev ? "fuseblk" : "fuse");
data/fuse3-3.10.0/util/fusermount.c:879:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(source, "%s#%s", subtype, fsname);
data/fuse3-3.10.0/util/fusermount.c:881:4:  [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(source, type);
data/fuse3-3.10.0/util/fusermount.c:962:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
		res = access(mnt, W_OK);
data/fuse3-3.10.0/util/mount.fuse.c:106:3:  [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(options, opt);
data/fuse3-3.10.0/util/mount.fuse.c:109:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(options, opt);
data/fuse3-3.10.0/util/mount.fuse.c:432:2:  [4] (shell) execl:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	execl("/bin/sh", "/bin/sh", "-c", command, NULL);
data/fuse3-3.10.0/example/passthrough_hp.cc:1129:30:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    fs.source = std::string {realpath(argv[1], NULL)};
data/fuse3-3.10.0/lib/fuse_loop_mt.c:202:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	stack_size = getenv(ENVNAME_THREAD_STACK);
data/fuse3-3.10.0/lib/helper.c:156:8:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
			if (realpath(arg, mountpoint) == NULL) {
data/fuse3-3.10.0/lib/mount_bsd.c:159:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	fdnam = getenv("FUSE_DEV_FD");
data/fuse3-3.10.0/lib/mount_bsd.c:177:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	dev = getenv("FUSE_DEV_NAME");
data/fuse3-3.10.0/lib/mount_bsd.c:188:6:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if (getenv("FUSE_NO_MOUNT") || ! mountpoint)
data/fuse3-3.10.0/lib/mount_util.c:317:6:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	if (realpath(toresolv, buf) == NULL) {
data/fuse3-3.10.0/test/test_syscalls.c:1834:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	const char *realpath;
data/fuse3-3.10.0/test/test_syscalls.c:1865:16:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	assert(strlen(realpath) < 512);
data/fuse3-3.10.0/test/test_syscalls.c:1878:37:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	sprintf(testfile_r, "%s/testfile", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1879:39:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	sprintf(testfile2_r, "%s/testfile2", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1880:35:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	sprintf(testdir_r, "%s/testdir", realpath);
data/fuse3-3.10.0/test/test_syscalls.c:1881:37:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	sprintf(testdir2_r, "%s/testdir2", realpath);
data/fuse3-3.10.0/util/fusermount.c:1300:15:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((ch = getopt_long(argc, argv, "hVo:uzq", long_opts,
data/fuse3-3.10.0/util/fusermount.c:1365:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	commfd = getenv(FUSE_COMMFD_ENV);
data/fuse3-3.10.0/util/mount.fuse.c:406:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	} else if (!getenv("HOME")) {
data/fuse3-3.10.0/example/cuse.c:118:2:  [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(cusexmp_buf + off, buf, size);
data/fuse3-3.10.0/example/cuse.c:192:3:  [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(cusexmp_buf + arg->offset, in_buf, in_bufsz);
data/fuse3-3.10.0/example/cuse.c:294: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 dev_name[128] = "DEVNAME=";
data/fuse3-3.10.0/example/cuse_client.c:102:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(argv[1], O_RDWR);
data/fuse3-3.10.0/example/hello.c:124:3:  [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, options.contents + offset, size);
data/fuse3-3.10.0/example/invalidate_path.c:53:8:  [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 char time_file_contents[MAX_STR_LEN];
data/fuse3-3.10.0/example/invalidate_path.c:144:3:  [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, time_file_contents, to_copy);
data/fuse3-3.10.0/example/ioctl.c:126:2:  [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, fioc_buf + offset, size);
data/fuse3-3.10.0/example/ioctl.c:147:2:  [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(fioc_buf + offset, buf, size);
data/fuse3-3.10.0/example/ioctl_client.c:50:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(argv[1], O_RDWR);
data/fuse3-3.10.0/example/notify_inval_entry.c:90:8:  [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 char file_name[MAX_STR_LEN];
data/fuse3-3.10.0/example/notify_inval_inode.c:82:8:  [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 char file_contents[MAX_STR_LEN];
data/fuse3-3.10.0/example/notify_store_retrieve.c:81:8:  [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 char file_contents[MAX_STR_LEN];
data/fuse3-3.10.0/example/notify_store_retrieve.c:248: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 buf[MAX_STR_LEN];
data/fuse3-3.10.0/example/passthrough.c:265:30:  [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 xmp_utimens(const char *path, const struct timespec ts[2],
data/fuse3-3.10.0/example/passthrough.c:285:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	res = open(path, fi->flags, mode);
data/fuse3-3.10.0/example/passthrough.c:297:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	res = open(path, fi->flags);
data/fuse3-3.10.0/example/passthrough.c:312:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(path, O_RDONLY);
data/fuse3-3.10.0/example/passthrough.c:336:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(path, O_WRONLY);
data/fuse3-3.10.0/example/passthrough.c:395:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(path, O_WRONLY);
data/fuse3-3.10.0/example/passthrough.c:458:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd_in = open(path_in, O_RDONLY);
data/fuse3-3.10.0/example/passthrough.c:466:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd_out = open(path_out, O_WRONLY);
data/fuse3-3.10.0/example/passthrough.c:493:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(path, O_RDONLY);
data/fuse3-3.10.0/example/passthrough_fh.c:347:30:  [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 xmp_utimens(const char *path, const struct timespec ts[2],
data/fuse3-3.10.0/example/passthrough_fh.c:368:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(path, fi->flags, mode);
data/fuse3-3.10.0/example/passthrough_fh.c:380:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(path, fi->flags);
data/fuse3-3.10.0/example/passthrough_hp.cc:229:13:  [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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:230:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(procname, "/proc/self/fd/%i", ifd);
data/fuse3-3.10.0/example/passthrough_hp.cc:248:13:  [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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:249:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(procname, "/proc/self/fd/%i", ifd);
data/fuse3-3.10.0/example/passthrough_hp.cc:277:13:  [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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:278:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(procname, "/proc/self/fd/%i", ifd);
data/fuse3-3.10.0/example/passthrough_hp.cc:450: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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:451:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(procname, "/proc/self/fd/%i", inode.fd);
data/fuse3-3.10.0/example/passthrough_hp.cc:543: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 buf[PATH_MAX + 1];
data/fuse3-3.10.0/example/passthrough_hp.cc:806: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 buf[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:807:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(buf, "/proc/self/fd/%i", inode.fd);
data/fuse3-3.10.0/example/passthrough_hp.cc:808:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    auto fd = open(buf, fi->flags & ~O_NOFOLLOW);
data/fuse3-3.10.0/example/passthrough_hp.cc:932: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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:933:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(procname, "/proc/self/fd/%i", inode.fd);
data/fuse3-3.10.0/example/passthrough_hp.cc:975: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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:976:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(procname, "/proc/self/fd/%i", inode.fd);
data/fuse3-3.10.0/example/passthrough_hp.cc:1017: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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:1018:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(procname, "/proc/self/fd/%i", inode.fd);
data/fuse3-3.10.0/example/passthrough_hp.cc:1028: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 procname[64];
data/fuse3-3.10.0/example/passthrough_hp.cc:1033:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(procname, "/proc/self/fd/%i", inode.fd);
data/fuse3-3.10.0/example/passthrough_hp.cc:1172:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fs.root.fd = open(fs.source.c_str(), O_PATH);
data/fuse3-3.10.0/example/passthrough_ll.c:194: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 procname[64];
data/fuse3-3.10.0/example/passthrough_ll.c:203:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(procname, "/proc/self/fd/%i", ifd);
data/fuse3-3.10.0/example/passthrough_ll.c:224:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(procname, "/proc/self/fd/%i", ifd);
data/fuse3-3.10.0/example/passthrough_ll.c:251:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(procname, "/proc/self/fd/%i", ifd);
data/fuse3-3.10.0/example/passthrough_ll.c:416: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 procname[64];
data/fuse3-3.10.0/example/passthrough_ll.c:423:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(procname, "/proc/self/fd/%i", inode->fd);
data/fuse3-3.10.0/example/passthrough_ll.c:544: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 buf[PATH_MAX + 1];
data/fuse3-3.10.0/example/passthrough_ll.c:775: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 buf[64];
data/fuse3-3.10.0/example/passthrough_ll.c:798:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(buf, "/proc/self/fd/%i", lo_fd(req, ino));
data/fuse3-3.10.0/example/passthrough_ll.c:799:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(buf, fi->flags & ~O_NOFOLLOW);
data/fuse3-3.10.0/example/passthrough_ll.c:928: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 procname[64];
data/fuse3-3.10.0/example/passthrough_ll.c:942:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(procname, "/proc/self/fd/%i", inode->fd);
data/fuse3-3.10.0/example/passthrough_ll.c:978: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 procname[64];
data/fuse3-3.10.0/example/passthrough_ll.c:992:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(procname, "/proc/self/fd/%i", inode->fd);
data/fuse3-3.10.0/example/passthrough_ll.c:1028: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 procname[64];
data/fuse3-3.10.0/example/passthrough_ll.c:1042:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(procname, "/proc/self/fd/%i", inode->fd);
data/fuse3-3.10.0/example/passthrough_ll.c:1053: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 procname[64];
data/fuse3-3.10.0/example/passthrough_ll.c:1067:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(procname, "/proc/self/fd/%i", inode->fd);
data/fuse3-3.10.0/example/passthrough_ll.c:1237:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	lo.root.fd = open(lo.source, O_PATH);
data/fuse3-3.10.0/example/poll.c:94: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 name[2] = { };
data/fuse3-3.10.0/example/poll_client.c:39:15:  [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 char hex_map[FSEL_FILES] = "0123456789ABCDEF";
data/fuse3-3.10.0/example/poll_client.c:45:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fds[i] = open(name, O_RDONLY);
data/fuse3-3.10.0/example/poll_client.c:54:10:  [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 char buf[4096];
data/fuse3-3.10.0/include/cuse_lowlevel.h:53:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void (*open) (fuse_req_t req, struct fuse_file_info *fi);
data/fuse3-3.10.0/include/fuse.h:436:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int (*open) (const char *, struct fuse_file_info *);
data/fuse3-3.10.0/include/fuse.h:656:25:  [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.
	 int (*utimens) (const char *, const struct timespec tv[2],
data/fuse3-3.10.0/include/fuse.h:1180:47:  [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.
int fuse_fs_utimens(struct fuse_fs *fs, const char *path,
data/fuse3-3.10.0/include/fuse_lowlevel.h:507:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void (*open) (fuse_req_t req, fuse_ino_t ino,
data/fuse3-3.10.0/lib/buffer.c:114: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 buf[4096];
data/fuse3-3.10.0/lib/buffer.c:240:5:  [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(dstmem, srcmem, len);
data/fuse3-3.10.0/lib/cuse_lowlevel.c:42:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	req_clop(req)->open(req, fi);
data/fuse3-3.10.0/lib/cuse_lowlevel.c:107: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, argv[i], len);
data/fuse3-3.10.0/lib/cuse_lowlevel.c:163:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	lop.open	= clop->open		? cuse_fll_open		: NULL;
data/fuse3-3.10.0/lib/cuse_lowlevel.c:294:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/fuse3-3.10.0/lib/cuse_lowlevel.c:303:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(devname, O_RDWR);
data/fuse3-3.10.0/lib/fuse.c:159: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 inline_name[32];
data/fuse3-3.10.0/lib/fuse.c:969:2:  [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(s, name, len);
data/fuse3-3.10.0/lib/fuse.c:1635:4:  [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[10];
data/fuse3-3.10.0/lib/fuse.c:1756:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (fs->op.open) {
data/fuse3-3.10.0/lib/fuse.c:1763:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		err = fs->op.open(path, fi);
data/fuse3-3.10.0/lib/fuse.c:2130:4:  [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[10];
data/fuse3-3.10.0/lib/fuse.c:2147:4:  [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[10];
data/fuse3-3.10.0/lib/fuse.c:2158:47:  [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.
int fuse_fs_utimens(struct fuse_fs *fs, const char *path,
data/fuse3-3.10.0/lib/fuse.c:2164:4:  [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[10];
data/fuse3-3.10.0/lib/fuse.c:2393:4:  [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[10];
data/fuse3-3.10.0/lib/fuse.c:2459: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 newname[64];
data/fuse3-3.10.0/lib/fuse.c:2812:4:  [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[10];
data/fuse3-3.10.0/lib/fuse.c:2925: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 linkname[PATH_MAX + 1];
data/fuse3-3.10.0/lib/fuse.c:4273:3:  [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(out_buf, in_buf, in_bufsz);
data/fuse3-3.10.0/lib/fuse.c:4824:3:  [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(&fs->op, op, op_size);
data/fuse3-3.10.0/lib/fuse_loop_mt.c:203:53:  [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).
	if (stack_size && pthread_attr_setstacksize(&attr, atoi(stack_size)))
data/fuse3-3.10.0/lib/fuse_loop_mt.c:236:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	clonefd = open(devname, O_RDWR | O_CLOEXEC);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:254:2:  [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(padded_iov + 1, iov, count * sizeof(struct iovec));
data/fuse3-3.10.0/lib/fuse_lowlevel.c:287:2:  [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(dirent->name, name, namelen);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:380:2:  [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(dirent->name, name, namelen);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:419: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 buf[sizeof(struct fuse_entry_out) + sizeof(struct fuse_open_out)];
data/fuse3-3.10.0/lib/fuse_lowlevel.c:618: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 buf[32];
data/fuse3-3.10.0/lib/fuse_lowlevel.c:620:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	maxfd = open("/proc/sys/fs/pipe-max-size", O_RDONLY);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:635:8:  [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).
	max = atoi(buf);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1047:2:  [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(&padded_iov[2], iov, count * sizeof(struct iovec));
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1327:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (req->se->op.open)
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1328:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		req->se->op.open(req, nodeid, &fi);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:2970:2:  [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(&se->op, op, op_size);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:2999:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open("/dev/null", O_RDWR);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:3060: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 path[128];
data/fuse3-3.10.0/lib/fuse_lowlevel.c:3066:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(path, "/proc/%lu/task/%lu/status", pid, pid);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:3074:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(path, O_RDONLY);
data/fuse3-3.10.0/lib/fuse_opt.c:266:2:  [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(newarg, arg, sep);
data/fuse3-3.10.0/lib/helper.c:155:4:  [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 mountpoint[PATH_MAX] = "";
data/fuse3-3.10.0/lib/helper.c:259:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		nullfd = open("/dev/null", O_RDWR, 0);
data/fuse3-3.10.0/lib/modules/iconv.c:343: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 iconv_utimens(const char *path, const struct timespec ts[2],
data/fuse3-3.10.0/lib/modules/subdir.c:138:3:  [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(s, "../", 3);
data/fuse3-3.10.0/lib/modules/subdir.c:329:33:  [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 subdir_utimens(const char *path, const struct timespec ts[2],
data/fuse3-3.10.0/lib/mount.c:47:16:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
#define fork() vfork()
data/fuse3-3.10.0/lib/mount.c:221: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 buf[1];
data/fuse3-3.10.0/lib/mount.c:334: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 env[10];
data/fuse3-3.10.0/lib/mount.c:335:9:  [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.
		const char *argv[32];
data/fuse3-3.10.0/lib/mount.c:339:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			int fd = open("/dev/null", O_RDONLY);
data/fuse3-3.10.0/lib/mount.c:387: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 tmp[128];
data/fuse3-3.10.0/lib/mount.c:413:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(devname, O_RDWR | O_CLOEXEC);
data/fuse3-3.10.0/lib/mount_bsd.c:182:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((fd = open(dev, O_RDWR)) < 0) {
data/fuse3-3.10.0/lib/mount_bsd.c:218:10:  [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.
			const char *argv[32];
data/fuse3-3.10.0/lib/mount_util.c:276: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 buf[PATH_MAX];
data/fuse3-3.10.0/lib/mount_util.c:343: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 buf[256];
data/fuse3-3.10.0/lib/mount_util.c:344:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *f = fopen("/proc/filesystems", "r");
data/fuse3-3.10.0/test/stracedecode.c:126: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[1048576];
data/fuse3-3.10.0/test/stracedecode.c:131:4:  [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 str[32];
data/fuse3-3.10.0/test/test_setattr.c:135: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 fname[PATH_MAX];
data/fuse3-3.10.0/test/test_setattr.c:140:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(fname, O_WRONLY);
data/fuse3-3.10.0/test/test_syscalls.c:24:8:  [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 char testfile[1024];
data/fuse3-3.10.0/test/test_syscalls.c:25:8:  [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 char testfile2[1024];
data/fuse3-3.10.0/test/test_syscalls.c:26:8:  [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 char testdir[1024];
data/fuse3-3.10.0/test/test_syscalls.c:27:8:  [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 char testdir2[1024];
data/fuse3-3.10.0/test/test_syscalls.c:28:8:  [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 char testsock[1024];
data/fuse3-3.10.0/test/test_syscalls.c:29:8:  [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 char subfile[1280];
data/fuse3-3.10.0/test/test_syscalls.c:31:8:  [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 char testfile_r[1024];
data/fuse3-3.10.0/test/test_syscalls.c:32:8:  [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 char testfile2_r[1024];
data/fuse3-3.10.0/test/test_syscalls.c:33:8:  [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 char testdir_r[1024];
data/fuse3-3.10.0/test/test_syscalls.c:34:8:  [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 char testdir2_r[1024];
data/fuse3-3.10.0/test/test_syscalls.c:35:8:  [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 char subfile_r[1280];
data/fuse3-3.10.0/test/test_syscalls.c:37:8:  [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 char testname[256];
data/fuse3-3.10.0/test/test_syscalls.c:42:8:  [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 char zerodata[4096];
data/fuse3-3.10.0/test/test_syscalls.c:87:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	n = sprintf(testname, "%3i [", testnum++);
data/fuse3-3.10.0/test/test_syscalls.c:309: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 buf[4096];
data/fuse3-3.10.0/test/test_syscalls.c:311:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(path, O_RDONLY);
data/fuse3-3.10.0/test/test_syscalls.c:352: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 buf[4096];
data/fuse3-3.10.0/test/test_syscalls.c:384:8:  [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.
	const char *cont[MAX_ENTRIES];
data/fuse3-3.10.0/test/test_syscalls.c:506: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 fpath[1280];
data/fuse3-3.10.0/test/test_syscalls.c:539: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 fpath[1280];
data/fuse3-3.10.0/test/test_syscalls.c:616:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(testfile, O_WRONLY);
data/fuse3-3.10.0/test/test_syscalls.c:741:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd_in = open(testfile, O_CREAT | O_RDWR, 0644);
data/fuse3-3.10.0/test/test_syscalls.c:923:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(testfile, O_CREAT | O_RDWR | O_TRUNC, 0644);
data/fuse3-3.10.0/test/test_syscalls.c:1004: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 buf[4096];
data/fuse3-3.10.0/test/test_syscalls.c:1023:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(testfile, flags, mode);
data/fuse3-3.10.0/test/test_syscalls.c:1185:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(testfile, flags);
data/fuse3-3.10.0/test/test_syscalls.c:1205: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 buf[1024];
data/fuse3-3.10.0/test/test_syscalls.c:1460: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 path[1280], path2[1280];
data/fuse3-3.10.0/test/test_syscalls.c:1522:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	res = open(PATH("a/foo"), O_CREAT, 0644);
data/fuse3-3.10.0/test/test_syscalls.c:1565:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	res = open(PATH("a/bar"), O_CREAT, 0644);
data/fuse3-3.10.0/test/test_syscalls.c:1804:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(subfile, flags, 0644);
data/fuse3-3.10.0/test/test_write_cache.c:157: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 fname[PATH_MAX];
data/fuse3-3.10.0/test/test_write_cache.c:164:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    assert((fd = open("/dev/urandom", O_RDONLY)) != -1);
data/fuse3-3.10.0/test/test_write_cache.c:170:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open(fname, O_WRONLY);
data/fuse3-3.10.0/util/fusermount.c:111:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	mtablock = open(mtab_lock, O_RDWR | O_CREAT, 0600);
data/fuse3-3.10.0/util/fusermount.c:153: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 uidstr[32];
data/fuse3-3.10.0/util/fusermount.c:169:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	uidlen = sprintf(uidstr, "%u", getuid());
data/fuse3-3.10.0/util/fusermount.c: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 buf[131072];
data/fuse3-3.10.0/util/fusermount.c:327:8:  [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.
	const char *a[3] = { last, mnt, type };
data/fuse3-3.10.0/util/fusermount.c:356: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 buf[65536];
data/fuse3-3.10.0/util/fusermount.c:550:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE *fp = fopen(FUSE_CONF, "r");
data/fuse3-3.10.0/util/fusermount.c:553: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 line[256];
data/fuse3-3.10.0/util/fusermount.c:833:6:  [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(d, s, len);
data/fuse3-3.10.0/util/fusermount.c:851:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(d, "fd=%i,rootmode=%o,user_id=%u,group_id=%u",
data/fuse3-3.10.0/util/fusermount.c:888:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(d, "fd=%i,rootmode=%o,user_id=%u",
data/fuse3-3.10.0/util/fusermount.c:969:10:  [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 char procfile[256];
data/fuse3-3.10.0/util/fusermount.c:970:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		*mountpoint_fd = open(mnt, O_WRONLY);
data/fuse3-3.10.0/util/fusermount.c:990:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(procfile, "/proc/self/fd/%i", *mountpoint_fd);
data/fuse3-3.10.0/util/fusermount.c:1061:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(dev, O_RDWR);
data/fuse3-3.10.0/util/fusermount.c:1239:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(mnt, O_RDONLY);
data/fuse3-3.10.0/util/fusermount.c:1376:8:  [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).
	cfd = atoi(commfd);
data/fuse3-3.10.0/util/fusermount.c:1405:12:  [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.
		unsigned char buf[16];
data/fuse3-3.10.0/example/cuse.c:308:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
		strncat(dev_name, param.dev_name, sizeof(dev_name) - 9);
data/fuse3-3.10.0/example/hello.c:76:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		stbuf->st_size = strlen(options.contents);
data/fuse3-3.10.0/example/hello.c:120:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	len = strlen(options.contents);
data/fuse3-3.10.0/example/hello_ll.c:47:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		stbuf->st_size = strlen(hello_str);
data/fuse3-3.10.0/example/hello_ll.c:153:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	reply_buf_limited(req, hello_str, strlen(hello_str), off, size);
data/fuse3-3.10.0/example/invalidate_path.c:94:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		stbuf->st_size = strlen(time_file_contents);
data/fuse3-3.10.0/example/invalidate_path.c:140:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int file_length = strlen(time_file_contents);
data/fuse3-3.10.0/example/notify_inval_entry.c:255:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                   (se, FUSE_ROOT_ID, old_name, strlen(old_name)) == 0);
data/fuse3-3.10.0/example/passthrough.c:552:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/fuse3-3.10.0/example/passthrough_fh.c:663:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/fuse3-3.10.0/example/passthrough_helpers.h:50:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(path) >= sizeof(su.sun_path)) {
data/fuse3-3.10.0/example/passthrough_helpers.h:62:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(su.sun_path, path, sizeof(su.sun_path));
data/fuse3-3.10.0/example/passthrough_hp.cc:1194:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(0);
data/fuse3-3.10.0/example/passthrough_ll.c:1165:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/fuse3-3.10.0/example/poll.c:61:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(path) != 2 || path[0] != '/' || !isxdigit(ch) || islower(ch))
data/fuse3-3.10.0/example/poll_client.c:75:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			rc = read(fds[i], buf, sizeof(buf));
data/fuse3-3.10.0/include/cuse_lowlevel.h:54:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void (*read) (fuse_req_t req, size_t size, off_t off,
data/fuse3-3.10.0/include/fuse.h:113:15:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	unsigned int umask;
data/fuse3-3.10.0/include/fuse.h:447:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int (*read) (const char *, char *, size_t, off_t,
data/fuse3-3.10.0/include/fuse.h:814:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	mode_t umask;
data/fuse3-3.10.0/include/fuse_kernel.h:490:11:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	uint32_t	umask;
data/fuse3-3.10.0/include/fuse_kernel.h:496:11:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	uint32_t	umask;
data/fuse3-3.10.0/include/fuse_kernel.h:540:11:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	uint32_t	umask;
data/fuse3-3.10.0/include/fuse_lowlevel.h:122:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	mode_t umask;
data/fuse3-3.10.0/include/fuse_lowlevel.h:535:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void (*read) (fuse_req_t req, fuse_ino_t ino, size_t size, off_t off,
data/fuse3-3.10.0/lib/buffer.c:88:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			res = read(src->fd, (char *)dst->mem + dst_off, len);
data/fuse3-3.10.0/lib/cuse_lowlevel.c:49:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	req_clop(req)->read(req, size, off, fi);
data/fuse3-3.10.0/lib/cuse_lowlevel.c:104:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		len = strlen(argv[i]) + 1;
data/fuse3-3.10.0/lib/cuse_lowlevel.c:164:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	lop.read	= clop->read		? cuse_fll_read		: NULL;
data/fuse3-3.10.0/lib/fuse.c:257:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	tmp = malloc(strlen(module) + 64);
data/fuse3-3.10.0/lib/fuse.c:799:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(name) < sizeof(node->inline_name)) {
data/fuse3-3.10.0/lib/fuse.c:945:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len = strlen(name);
data/fuse3-3.10.0/lib/fuse.c:1061:3:  [1] (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). Risk is low because the source is a constant character.
		strcpy(buf, "/");
data/fuse3-3.10.0/lib/fuse.c:1541:23:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
				 (0777 & ~f->conf.umask);
data/fuse3-3.10.0/lib/fuse.c:1792:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (fs->op.read || fs->op.read_buf) {
data/fuse3-3.10.0/lib/fuse.c:1820:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			res = fs->op.read(path, mem, size, off, fi);
data/fuse3-3.10.0/lib/fuse.c:1846:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (fs->op.read || fs->op.read_buf) {
data/fuse3-3.10.0/lib/fuse.c:1867:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			res = fs->op.read(path, mem, size, off, fi);
data/fuse3-3.10.0/lib/fuse.c:2064:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
				fuse_get_context()->umask);
data/fuse3-3.10.0/lib/fuse.c:2212:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
				fuse_get_context()->umask);
data/fuse3-3.10.0/lib/fuse.c:2226:37:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
				path, mode, fuse_get_context()->umask);
data/fuse3-3.10.0/lib/fuse.c:2618:22:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	c->ctx.umask = ctx->umask;
data/fuse3-3.10.0/lib/fuse.c:2695:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(name);
data/fuse3-3.10.0/lib/fuse.c:4652:33:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	FUSE_LIB_OPT("umask=%o",	      umask, 0),
data/fuse3-3.10.0/lib/fuse.c:4988:2:  [1] (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). Risk is low because the source is a constant character.
	strcpy(root->inline_name, "/");
data/fuse3-3.10.0/lib/fuse_lowlevel.c:275:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	namelen = strlen(name);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:365:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	namelen = strlen(name);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:449:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return send_reply_ok(req, linkname, strlen(linkname));
data/fuse3-3.10.0/lib/fuse_lowlevel.c:601:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	res = read(fd, buf, len);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:624:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	res = read(maxfd, buf, sizeof(buf) - 1);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1208:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		req->ctx.umask = arg->umask;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1223:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		req->ctx.umask = arg->umask;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1254:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *linkname = ((char *) inarg) + strlen((char *) inarg) + 1;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1266:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *newname = oldname + strlen(oldname) + 1;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1279:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *newname = oldname + strlen(oldname) + 1;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1310:26:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
			req->ctx.umask = arg->umask;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1337:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (req->se->op.read) {
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1346:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		req->se->op.read(req, nodeid, arg->size, arg->offset, &fi);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:1567:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *value = name + strlen(name) + 1;
data/fuse3-3.10.0/lib/fuse_lowlevel.c:2860:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	res = read(ch ? ch->fd : se->fd, buf->mem, se->bufsize);
data/fuse3-3.10.0/lib/fuse_lowlevel.c:3078:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ret = read(fd, buf, bufsize);
data/fuse3-3.10.0/lib/fuse_opt.c:117:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	unsigned oldlen = *opts ? strlen(*opts) : 0;
data/fuse3-3.10.0/lib/fuse_opt.c:118:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	char *d = realloc(*opts, oldlen + 1 + strlen(opt) * 2 + 1);
data/fuse3-3.10.0/lib/fuse_opt.c:173:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int arglen = strlen(arg);
data/fuse3-3.10.0/lib/fuse_opt.c:262:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	newarg = malloc(sep + strlen(param) + 1);
data/fuse3-3.10.0/lib/helper.c:187:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	subtype_opt = (char *) malloc(strlen(basename) + 64);
data/fuse3-3.10.0/lib/helper.c:248:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			(void) read(waiter[0], &completed, sizeof(completed));
data/fuse3-3.10.0/lib/modules/iconv.c:58:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	pathlen = strlen(path);
data/fuse3-3.10.0/lib/modules/iconv.c:138:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
				strncpy(buf, newlink, size - 1);
data/fuse3-3.10.0/lib/modules/subdir.c:35:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		unsigned newlen = d->baselen + strlen(path);
data/fuse3-3.10.0/lib/modules/subdir.c:46:4:  [1] (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). Risk is low because the source is a constant character.
			strcpy(newpath, ".");
data/fuse3-3.10.0/lib/modules/subdir.c:125:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	llen = strlen(l);
data/fuse3-3.10.0/lib/modules/subdir.c:133:3:  [1] (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). Risk is low because the source is a constant character.
		strcpy(s, ".");
data/fuse3-3.10.0/lib/modules/subdir.c:667:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (d->base[0] && d->base[strlen(d->base)-1] != '/') {
data/fuse3-3.10.0/lib/modules/subdir.c:668:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		char *tmp = realloc(d->base, strlen(d->base) + 2);
data/fuse3-3.10.0/lib/modules/subdir.c:674:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(d->base, "/");
data/fuse3-3.10.0/lib/modules/subdir.c:676:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	d->baselen = strlen(d->base);
data/fuse3-3.10.0/lib/mount.c:432:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	source = malloc((mo->fsname ? strlen(mo->fsname) : 0) +
data/fuse3-3.10.0/lib/mount.c:433:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(mo->subtype ? strlen(mo->subtype) : 0) +
data/fuse3-3.10.0/lib/mount.c:434:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(devname) + 32);
data/fuse3-3.10.0/lib/mount.c:436:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	type = malloc((mo->subtype ? strlen(mo->subtype) : 0) + 32);
data/fuse3-3.10.0/lib/mount.c:444:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(type, ".");
data/fuse3-3.10.0/lib/mount_util.c:46:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(mnt, _PATH_MOUNTED, strlen(mnt)) == 0 &&
data/fuse3-3.10.0/lib/mount_util.c:47:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    _PATH_MOUNTED[strlen(mnt)] == '/')
data/fuse3-3.10.0/lib/mount_util.c:297:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (end = copy + strlen(copy) - 1; end > copy && *end == '/'; end --);
data/fuse3-3.10.0/lib/mount_util.c:326:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		dst = (char *) malloc(strlen(buf) + 1 + strlen(lastcomp) + 1);
data/fuse3-3.10.0/lib/mount_util.c:326:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		dst = (char *) malloc(strlen(buf) + 1 + strlen(lastcomp) + 1);
data/fuse3-3.10.0/lib/mount_util.c:328:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			unsigned buflen = strlen(buf);
data/fuse3-3.10.0/lib/mount_util.c:364:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len == strlen(mountpoint)) {
data/fuse3-3.10.0/test/stracedecode.c:133:10:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
			res = fscanf(in, "%30s", str);
data/fuse3-3.10.0/test/stracedecode.c:150:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			int c = getc(in);
data/fuse3-3.10.0/test/stracedecode.c:155:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					c = getc(in);
data/fuse3-3.10.0/test/stracedecode.c:169:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						c = getc(in);
data/fuse3-3.10.0/test/test_syscalls.c:91:2:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
	sprintf(testname + n, "]");
data/fuse3-3.10.0/test/test_syscalls.c:323:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		res = read(fd, buf, rdlen);
data/fuse3-3.10.0/test/test_syscalls.c:360:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		res = read(fd, buf, rdlen);
data/fuse3-3.10.0/test/test_syscalls.c:1099:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	res = read(fd, buf, sizeof(buf));
data/fuse3-3.10.0/test/test_syscalls.c:1208:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int linklen = strlen(testfile);
data/fuse3-3.10.0/test/test_syscalls.c:1748:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(testsock) + 1 > sizeof(su.sun_path)) {
data/fuse3-3.10.0/test/test_syscalls.c:1750:4:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strlen(testsock) + 1 - sizeof(su.sun_path));
data/fuse3-3.10.0/test/test_syscalls.c:1760:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(su.sun_path, testsock, sizeof(su.sun_path) - 1);
data/fuse3-3.10.0/test/test_syscalls.c:1839:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/fuse3-3.10.0/test/test_syscalls.c:1864:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	assert(strlen(basepath) < 512);
data/fuse3-3.10.0/test/test_syscalls.c:1865:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	assert(strlen(realpath) < 512);
data/fuse3-3.10.0/test/test_write_cache.c:165:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    assert(read(fd, buf, dsize) == dsize);
data/fuse3-3.10.0/util/fusermount.c:527:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	for (s = line + strlen(line) - 1;
data/fuse3-3.10.0/util/fusermount.c:532:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		memmove(line, s, strlen(s)+1);
data/fuse3-3.10.0/util/fusermount.c:557:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (line[strlen(line)-1] == '\n') {
data/fuse3-3.10.0/util/fusermount.c:563:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			} else if(line[strlen(line)-1] == '\n') {
data/fuse3-3.10.0/util/fusermount.c:593:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strncmp(s, beg, strlen(beg)) == 0)
data/fuse3-3.10.0/util/fusermount.c:629:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(opt) == len && strncmp(opt, s, len) == 0) {
data/fuse3-3.10.0/util/fusermount.c:650:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		unsigned oldsize = strlen(*optsp);
data/fuse3-3.10.0/util/fusermount.c:651:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		unsigned newsize = oldsize + 1 + strlen(opt) + expand + 1;
data/fuse3-3.10.0/util/fusermount.c:681:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	l = strlen(*mnt_optsp);
data/fuse3-3.10.0/util/fusermount.c:689:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (add_option(mnt_optsp, "user=", strlen(user)) == -1)
data/fuse3-3.10.0/util/fusermount.c:698:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if(strlen(opt) == len && strncmp(s, opt, len) == 0)
data/fuse3-3.10.0/util/fusermount.c:708:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	unsigned opt_len = strlen(opt);
data/fuse3-3.10.0/util/fusermount.c:739:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(data) > sysconf(_SC_PAGESIZE) - 1) {
data/fuse3-3.10.0/util/fusermount.c:764:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	optbuf = (char *) malloc(strlen(opts) + 128);
data/fuse3-3.10.0/util/fusermount.c:854:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	source = malloc((fsname ? strlen(fsname) : 0) +
data/fuse3-3.10.0/util/fusermount.c:855:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(subtype ? strlen(subtype) : 0) + strlen(dev) + 32);
data/fuse3-3.10.0/util/fusermount.c:855:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			(subtype ? strlen(subtype) : 0) + strlen(dev) + 32);
data/fuse3-3.10.0/util/fusermount.c:857:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	type = malloc((subtype ? strlen(subtype) : 0) + 32);
data/fuse3-3.10.0/util/fusermount.c:1361:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(033);
data/fuse3-3.10.0/util/mount.fuse.c:73:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t optlen = strlen(opt);
data/fuse3-3.10.0/util/mount.fuse.c:74:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t cmdlen = *cmdp ? strlen(*cmdp) : 0;
data/fuse3-3.10.0/util/mount.fuse.c:102:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int oldlen = options ? strlen(options) : 0;
data/fuse3-3.10.0/util/mount.fuse.c:104:43:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	options = xrealloc(options, oldlen + 1 + strlen(opt) + 1);
data/fuse3-3.10.0/util/mount.fuse.c:108:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(options, ",");
data/fuse3-3.10.0/util/mount.fuse.c:119:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int subtype_len = strlen(subtype) + 9;

ANALYSIS SUMMARY:

Hits = 421
Lines analyzed = 32460 in approximately 0.98 seconds (33062 lines/second)
Physical Source Lines of Code (SLOC) = 22888
Hits@level = [0] 232 [1] 130 [2] 188 [3]  16 [4]  67 [5]  20
Hits@level+ = [0+] 653 [1+] 421 [2+] 291 [3+] 103 [4+]  87 [5+]  20
Hits/KSLOC@level+ = [0+] 28.5302 [1+] 18.3939 [2+] 12.7141 [3+] 4.50017 [4+] 3.80112 [5+] 0.87382
Dot directories skipped = 2 (--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.