Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/fuse-2.9.9/example/fsel.c
Examining data/fuse-2.9.9/example/fusexmp_fh.c
Examining data/fuse-2.9.9/example/cusexmp.c
Examining data/fuse-2.9.9/example/hello_ll.c
Examining data/fuse-2.9.9/example/fioc.h
Examining data/fuse-2.9.9/example/fioclient.c
Examining data/fuse-2.9.9/example/fusexmp.c
Examining data/fuse-2.9.9/example/null.c
Examining data/fuse-2.9.9/example/fselclient.c
Examining data/fuse-2.9.9/example/hello.c
Examining data/fuse-2.9.9/example/fioc.c
Examining data/fuse-2.9.9/util/mount.fuse.c
Examining data/fuse-2.9.9/util/mount_util.c
Examining data/fuse-2.9.9/util/ulockmgr_server.c
Examining data/fuse-2.9.9/util/fusermount.c
Examining data/fuse-2.9.9/include/cuse_lowlevel.h
Examining data/fuse-2.9.9/include/old/fuse.h
Examining data/fuse-2.9.9/include/fuse_lowlevel.h
Examining data/fuse-2.9.9/include/fuse_opt.h
Examining data/fuse-2.9.9/include/fuse_common_compat.h
Examining data/fuse-2.9.9/include/ulockmgr.h
Examining data/fuse-2.9.9/include/fuse_common.h
Examining data/fuse-2.9.9/include/fuse_compat.h
Examining data/fuse-2.9.9/include/fuse_lowlevel_compat.h
Examining data/fuse-2.9.9/include/fuse.h
Examining data/fuse-2.9.9/include/fuse_kernel.h
Examining data/fuse-2.9.9/lib/fuse_signals.c
Examining data/fuse-2.9.9/lib/fuse_loop.c
Examining data/fuse-2.9.9/lib/mount_bsd.c
Examining data/fuse-2.9.9/lib/ulockmgr.c
Examining data/fuse-2.9.9/lib/modules/iconv.c
Examining data/fuse-2.9.9/lib/modules/subdir.c
Examining data/fuse-2.9.9/lib/fuse_opt.c
Examining data/fuse-2.9.9/lib/fuse_loop_mt.c
Examining data/fuse-2.9.9/lib/fuse_misc.h
Examining data/fuse-2.9.9/lib/fuse_i.h
Examining data/fuse-2.9.9/lib/fuse_mt.c
Examining data/fuse-2.9.9/lib/cuse_lowlevel.c
Examining data/fuse-2.9.9/lib/fuse_kern_chan.c
Examining data/fuse-2.9.9/lib/buffer.c
Examining data/fuse-2.9.9/lib/mount_util.c
Examining data/fuse-2.9.9/lib/mount_util.h
Examining data/fuse-2.9.9/lib/mount.c
Examining data/fuse-2.9.9/lib/fuse_lowlevel.c
Examining data/fuse-2.9.9/lib/fuse_session.c
Examining data/fuse-2.9.9/lib/helper.c
Examining data/fuse-2.9.9/lib/fuse.c

FINAL RESULTS:

data/fuse-2.9.9/example/fusexmp.c:62: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/fuse-2.9.9/example/fusexmp.c:187: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/fuse-2.9.9/example/fusexmp_fh.c:76: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/fuse-2.9.9/example/fusexmp_fh.c:243: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/fuse-2.9.9/include/fuse.h:105: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/fuse-2.9.9/include/fuse.h:142: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);
data/fuse-2.9.9/include/fuse.h:145: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);
data/fuse-2.9.9/include/fuse_compat.h:14: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/fuse-2.9.9/include/fuse_compat.h:23: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);
data/fuse-2.9.9/include/fuse_compat.h:24: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);
data/fuse-2.9.9/include/fuse_compat.h:73: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/fuse-2.9.9/include/fuse_compat.h:82: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);
data/fuse-2.9.9/include/fuse_compat.h:83: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);
data/fuse-2.9.9/include/fuse_compat.h:124: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/fuse-2.9.9/include/fuse_compat.h:133: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);
data/fuse-2.9.9/include/fuse_compat.h:134: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);
data/fuse-2.9.9/include/fuse_compat.h:172: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/fuse-2.9.9/include/fuse_compat.h:181: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);
data/fuse-2.9.9/include/fuse_compat.h:182: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);
data/fuse-2.9.9/include/fuse_lowlevel.h:299: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:21: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:88: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/fuse-2.9.9/lib/fuse.c:2192: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/fuse-2.9.9/lib/fuse.c:2197: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);
data/fuse-2.9.9/lib/fuse.c:2282: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/fuse-2.9.9/lib/fuse.c:2287: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/fuse-2.9.9/lib/fuse.c:2852: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/fuse-2.9.9/lib/fuse.c:2853: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);
data/fuse-2.9.9/lib/fuse_lowlevel.c:1096: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.
	if (req->f->op.readlink)
data/fuse-2.9.9/lib/fuse_lowlevel.c:1097:14:  [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->f->op.readlink(req, nodeid);
data/fuse-2.9.9/example/fusexmp.c:51: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/fuse-2.9.9/example/fusexmp_fh.c:65: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/fuse-2.9.9/include/fuse.h:354: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/fuse-2.9.9/include/fuse_compat.h:47: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/fuse-2.9.9/include/fuse_lowlevel.h:766: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:61: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:128: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/fuse-2.9.9/lib/fuse.c:261:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf (symbol, "fuse_fusemod_%s_module", module_name);
data/fuse-2.9.9/lib/fuse.c:302:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(soname, "libfusemod_%s.so", module);
data/fuse-2.9.9/lib/fuse.c:804: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/fuse-2.9.9/lib/fuse.c:2268: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/fuse-2.9.9/lib/fuse.c:2272: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/fuse-2.9.9/lib/fuse_lowlevel.c:1086: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.
	if (req->f->op.access)
data/fuse-2.9.9/lib/fuse_lowlevel.c:1087:14:  [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->f->op.access(req, nodeid, arg->mask);
data/fuse-2.9.9/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/fuse-2.9.9/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/fuse-2.9.9/lib/helper.c:141: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/fuse-2.9.9/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/fuse-2.9.9/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/fuse-2.9.9/lib/mount.c:146: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/fuse-2.9.9/lib/mount.c:147: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/fuse-2.9.9/lib/mount.c:491: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/fuse-2.9.9/lib/mount.c:494: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/fuse-2.9.9/lib/mount.c:496: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/fuse-2.9.9/lib/mount.c:502: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/fuse-2.9.9/lib/mount.c:505: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/fuse-2.9.9/lib/mount.c:508: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/fuse-2.9.9/lib/mount_bsd.c:107: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 " --help");
data/fuse-2.9.9/lib/mount_bsd.c:113: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/fuse-2.9.9/lib/mount_bsd.c:179:7:  [4] (shell) popen:
  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.
	sf = popen(ssc, "r");
data/fuse-2.9.9/lib/mount_bsd.c:191: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(umount_cmd);
data/fuse-2.9.9/lib/mount_bsd.c:202:2:  [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.
	snprintf(device_path, SPECNAMELEN + 12, _PATH_DEV "%s", dev);
data/fuse-2.9.9/lib/mount_bsd.c:216:3:  [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(umount_cmd, (char **)argv);
data/fuse-2.9.9/lib/mount_bsd.c:345: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/fuse-2.9.9/lib/mount_util.c:64: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/fuse-2.9.9/lib/mount_util.c:103: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/fuse-2.9.9/lib/mount_util.c:157: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/fuse-2.9.9/lib/mount_util.c:160: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/fuse-2.9.9/lib/mount_util.c:222: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/fuse-2.9.9/lib/mount_util.c:304: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/fuse-2.9.9/lib/mount_util.c:306: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/fuse-2.9.9/lib/ulockmgr.c:136:8:  [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.
	res = system(tmp);
data/fuse-2.9.9/util/fusermount.c:649:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newopts + oldsize, ",%s", opt);
data/fuse-2.9.9/util/fusermount.c:686: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/fuse-2.9.9/util/fusermount.c:849: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/fuse-2.9.9/util/fusermount.c:851: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/fuse-2.9.9/util/fusermount.c:854: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/fuse-2.9.9/util/fusermount.c:856: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/fuse-2.9.9/util/fusermount.c:861: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/fuse-2.9.9/util/fusermount.c:864: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/fuse-2.9.9/util/fusermount.c:866: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/fuse-2.9.9/util/fusermount.c:978: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/fuse-2.9.9/util/mount.fuse.c:68: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/fuse-2.9.9/util/mount.fuse.c:71: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/fuse-2.9.9/util/mount.fuse.c:226: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/fuse-2.9.9/util/mount_util.c:64: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/fuse-2.9.9/util/mount_util.c:103: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/fuse-2.9.9/util/mount_util.c:157: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/fuse-2.9.9/util/mount_util.c:160: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/fuse-2.9.9/util/mount_util.c:222: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/fuse-2.9.9/util/mount_util.c:304: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/fuse-2.9.9/util/mount_util.c:306: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/fuse-2.9.9/lib/fuse_loop_mt.c:155: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/fuse-2.9.9/lib/helper.c:109: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/fuse-2.9.9/lib/mount_bsd.c:270: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/fuse-2.9.9/lib/mount_bsd.c:288: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/fuse-2.9.9/lib/mount_bsd.c:299: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/fuse-2.9.9/lib/mount_util.c:291: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/fuse-2.9.9/util/fusermount.c:1279: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/fuse-2.9.9/util/fusermount.c:1344: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/fuse-2.9.9/util/mount.fuse.c:221: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/fuse-2.9.9/util/mount_util.c:291: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/fuse-2.9.9/example/cusexmp.c:93: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/fuse-2.9.9/example/cusexmp.c:167: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/fuse-2.9.9/example/cusexmp.c:268: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/fuse-2.9.9/example/fioc.c:111: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/fuse-2.9.9/example/fioc.c:132: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/fuse-2.9.9/example/fioclient.c:74: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/fuse-2.9.9/example/fsel.c:77: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/fuse-2.9.9/example/fselclient.c:27: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/fuse-2.9.9/example/fselclient.c:33: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/fuse-2.9.9/example/fselclient.c:42: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/fuse-2.9.9/example/fusexmp.c:104: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).
		res = open(path, O_CREAT | O_EXCL | O_WRONLY, mode);
data/fuse-2.9.9/example/fusexmp.c:217: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/fuse-2.9.9/example/fusexmp.c:234: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/fuse-2.9.9/example/fusexmp.c:249: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/fuse-2.9.9/example/fusexmp.c:268: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_WRONLY);
data/fuse-2.9.9/example/fusexmp.c:325: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_WRONLY);
data/fuse-2.9.9/example/fusexmp_fh.c:287: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/fuse-2.9.9/example/fusexmp_fh.c:304: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/fuse-2.9.9/example/fusexmp_fh.c:316: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/fuse-2.9.9/example/hello.c:79: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, hello_str + offset, size);
data/fuse-2.9.9/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/fuse-2.9.9/include/fuse.h:173: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/fuse-2.9.9/include/fuse.h:444:24:  [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/fuse-2.9.9/include/fuse.h:866: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/fuse-2.9.9/include/fuse_compat.h:27: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/fuse-2.9.9/include/fuse_compat.h:86: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_compat *);
data/fuse-2.9.9/include/fuse_compat.h:137: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 *, int);
data/fuse-2.9.9/include/fuse_compat.h:185: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 *, int);
data/fuse-2.9.9/include/fuse_lowlevel.h:444: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:34: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:101: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/fuse-2.9.9/lib/buffer.c:111: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/fuse-2.9.9/lib/buffer.c:237: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/fuse-2.9.9/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/fuse-2.9.9/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/fuse-2.9.9/lib/cuse_lowlevel.c:164: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/fuse-2.9.9/lib/cuse_lowlevel.c:296: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/fuse-2.9.9/lib/cuse_lowlevel.c:306: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/fuse-2.9.9/lib/fuse.c:184:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char inline_name[32];
data/fuse-2.9.9/lib/fuse.c:1567: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/fuse-2.9.9/lib/fuse.c:1571:56:  [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 = ((struct fuse_operations_compat22 *) &fs->op)->open(path,
data/fuse-2.9.9/lib/fuse.c:1573: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(fi, &tmp, sizeof(tmp));
data/fuse-2.9.9/lib/fuse.c:1577:6:  [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).
			->open(path, fi->flags);
data/fuse-2.9.9/lib/fuse.c:1602: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(fi, &tmp, sizeof(tmp));
data/fuse-2.9.9/lib/fuse.c:1660: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).
	return fs->op.open(path, fi);
data/fuse-2.9.9/lib/fuse.c:1825: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/fuse-2.9.9/lib/fuse.c:2239: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/fuse-2.9.9/lib/fuse.c:2506: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/fuse-2.9.9/lib/fuse.c:2968: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/fuse-2.9.9/lib/fuse.c:4130: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/fuse-2.9.9/lib/fuse.c:4653: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/fuse-2.9.9/lib/fuse_loop_mt.c:156: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/fuse-2.9.9/lib/fuse_lowlevel.c:236: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/fuse-2.9.9/lib/fuse_lowlevel.c:376: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/fuse-2.9.9/lib/fuse_lowlevel.c:956: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/fuse-2.9.9/lib/fuse_lowlevel.c:1213: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).
	if (req->f->op.open)
data/fuse-2.9.9/lib/fuse_lowlevel.c:1214:14:  [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->f->op.open(req, nodeid, &fi);
data/fuse-2.9.9/lib/fuse_lowlevel.c:2746: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(&f->op, op, op_size);
data/fuse-2.9.9/lib/fuse_lowlevel.c:2781: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/fuse-2.9.9/lib/fuse_lowlevel.c:2787: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/fuse-2.9.9/lib/fuse_lowlevel.c:2795: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/fuse-2.9.9/lib/fuse_lowlevel.c:2934: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 tmpbuf[64];
data/fuse-2.9.9/lib/fuse_lowlevel.c:2936: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(tmpbuf, "-omax_readahead=%u", conf.max_read);
data/fuse-2.9.9/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/fuse-2.9.9/lib/helper.c:108: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/fuse-2.9.9/lib/helper.c:214: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/fuse-2.9.9/lib/helper.c:243: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/fuse-2.9.9/lib/modules/iconv.c:363: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/fuse-2.9.9/lib/modules/subdir.c:150: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/fuse-2.9.9/lib/modules/subdir.c:350: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/fuse-2.9.9/lib/mount.c:46: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/fuse-2.9.9/lib/mount.c:256: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/fuse-2.9.9/lib/mount.c:376: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/fuse-2.9.9/lib/mount.c:377: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/fuse-2.9.9/lib/mount.c:381: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/fuse-2.9.9/lib/mount.c:431: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/fuse-2.9.9/lib/mount.c:464: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/fuse-2.9.9/lib/mount_bsd.c:150:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dev[128];
data/fuse-2.9.9/lib/mount_bsd.c:197: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 device_path[SPECNAMELEN + 12];
data/fuse-2.9.9/lib/mount_bsd.c:198: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 *argv[4];
data/fuse-2.9.9/lib/mount_bsd.c:225: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 *ep, dev[128];
data/fuse-2.9.9/lib/mount_bsd.c:293: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/fuse-2.9.9/lib/mount_bsd.c:329: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/fuse-2.9.9/lib/mount_util.c:250: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/fuse-2.9.9/lib/mount_util.c:350: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/fuse-2.9.9/lib/mount_util.c:351: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/fuse-2.9.9/lib/ulockmgr.c:103: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(CMSG_DATA(p_cmsg), fdp, sizeof(int) * numfds);
data/fuse-2.9.9/lib/ulockmgr.c:128: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[64];
data/fuse-2.9.9/lib/ulockmgr.c:177: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(o->id, id, id_len);
data/fuse-2.9.9/util/fusermount.c:114: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/fuse-2.9.9/util/fusermount.c:156: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/fuse-2.9.9/util/fusermount.c:172: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/fuse-2.9.9/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/fuse-2.9.9/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[2] = { last, mnt };
data/fuse-2.9.9/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/fuse-2.9.9/util/fusermount.c:545: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/fuse-2.9.9/util/fusermount.c:548: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/fuse-2.9.9/util/fusermount.c:814: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/fuse-2.9.9/util/fusermount.c:832: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/fuse-2.9.9/util/fusermount.c:873: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/fuse-2.9.9/util/fusermount.c:917:7:  [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).
	vf = fopen(version_file, "r");
data/fuse-2.9.9/util/fusermount.c:985: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/fuse-2.9.9/util/fusermount.c:986: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/fuse-2.9.9/util/fusermount.c:1006: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/fuse-2.9.9/util/fusermount.c:1069: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/fuse-2.9.9/util/fusermount.c:1355: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/fuse-2.9.9/util/fusermount.c:1382: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/fuse-2.9.9/util/mount_util.c:250: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/fuse-2.9.9/util/mount_util.c:350: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/fuse-2.9.9/util/mount_util.c:351: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/fuse-2.9.9/util/ulockmgr_server.c:101: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(fdp, CMSG_DATA(cmsg), sizeof(int) * *numfds);
data/fuse-2.9.9/util/ulockmgr_server.c:118: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(fdp, CMSG_DATA(cmsg), sizeof(int) * *numfds);
data/fuse-2.9.9/util/ulockmgr_server.c:381: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).
	nullfd = open("/dev/null", O_RDWR);
data/fuse-2.9.9/example/cusexmp.c:282: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/fuse-2.9.9/example/fsel.c:47: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/fuse-2.9.9/example/fselclient.c:63: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/fuse-2.9.9/example/fusexmp.c:410:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/fuse-2.9.9/example/fusexmp_fh.c:565:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(0);
data/fuse-2.9.9/example/hello.c:33: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/fuse-2.9.9/example/hello.c:75: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(hello_str);
data/fuse-2.9.9/example/hello_ll.c:37: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/fuse-2.9.9/example/hello_ll.c:143: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/fuse-2.9.9/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/fuse-2.9.9/include/fuse.h:186: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/fuse-2.9.9/include/fuse.h:618:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	mode_t umask;
data/fuse-2.9.9/include/fuse_compat.h:28: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/fuse-2.9.9/include/fuse_compat.h:87: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/fuse-2.9.9/include/fuse_compat.h:138: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/fuse-2.9.9/include/fuse_compat.h:186: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/fuse-2.9.9/include/fuse_kernel.h:385:8:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	__u32	umask;
data/fuse-2.9.9/include/fuse_kernel.h:391:8:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	__u32	umask;
data/fuse-2.9.9/include/fuse_kernel.h:429:8:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	__u32	umask;
data/fuse-2.9.9/include/fuse_lowlevel.h:128:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	mode_t umask;
data/fuse-2.9.9/include/fuse_lowlevel.h:472: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:36: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/fuse-2.9.9/include/fuse_lowlevel_compat.h:103: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/fuse-2.9.9/lib/buffer.c:85:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			res = read(src->fd, dst->mem + dst_off, len);
data/fuse-2.9.9/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/fuse-2.9.9/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/fuse-2.9.9/lib/cuse_lowlevel.c:165: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/fuse-2.9.9/lib/fuse.c:58:16:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	unsigned int  umask;
data/fuse-2.9.9/lib/fuse.c:253:35:  [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).
        const size_t module_len = strlen (module_name);
data/fuse-2.9.9/lib/fuse.c:297: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).
	char *soname = malloc(strlen(module) + 64);
data/fuse-2.9.9/lib/fuse.c:803: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/fuse-2.9.9/lib/fuse.c:919: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/fuse-2.9.9/lib/fuse.c:943:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(s, name, len);
data/fuse-2.9.9/lib/fuse.c:1035: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/fuse-2.9.9/lib/fuse.c:1481: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/fuse-2.9.9/lib/fuse.c:1860: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/fuse-2.9.9/lib/fuse.c:1888: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/fuse-2.9.9/lib/fuse.c:2129: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/fuse-2.9.9/lib/fuse.c:2301: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/fuse-2.9.9/lib/fuse.c:2315: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/fuse-2.9.9/lib/fuse.c:2655: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/fuse-2.9.9/lib/fuse.c:2734: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/fuse-2.9.9/lib/fuse.c:4493: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/fuse-2.9.9/lib/fuse.c:4826: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/fuse-2.9.9/lib/fuse_kern_chan.c:28:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	res = read(fuse_chan_fd(ch), buf, size);
data/fuse-2.9.9/lib/fuse_lowlevel.c:253: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 namelen = strlen(name);
data/fuse-2.9.9/lib/fuse_lowlevel.c:263:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(dirent->name, name, namelen);
data/fuse-2.9.9/lib/fuse_lowlevel.c:276:29:  [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).
	entsize = fuse_dirent_size(strlen(name));
data/fuse-2.9.9/lib/fuse_lowlevel.c:406: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/fuse-2.9.9/lib/fuse_lowlevel.c:540: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/fuse-2.9.9/lib/fuse_lowlevel.c:1108: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/fuse-2.9.9/lib/fuse_lowlevel.c:1123: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/fuse-2.9.9/lib/fuse_lowlevel.c:1154: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/fuse-2.9.9/lib/fuse_lowlevel.c:1166: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/fuse-2.9.9/lib/fuse_lowlevel.c:1196: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/fuse-2.9.9/lib/fuse_lowlevel.c:1223:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (req->f->op.read) {
data/fuse-2.9.9/lib/fuse_lowlevel.c:1233:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		req->f->op.read(req, nodeid, arg->size, arg->offset, &fi);
data/fuse-2.9.9/lib/fuse_lowlevel.c:1446: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/fuse-2.9.9/lib/fuse_lowlevel.c:2799: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/fuse-2.9.9/lib/fuse_opt.c:119: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/fuse-2.9.9/lib/fuse_opt.c:120: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/fuse-2.9.9/lib/fuse_opt.c:175: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/fuse-2.9.9/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/fuse-2.9.9/lib/helper.c:136: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/fuse-2.9.9/lib/helper.c:203:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			read(waiter[0], &completed, sizeof(completed));
data/fuse-2.9.9/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/fuse-2.9.9/lib/modules/iconv.c:150: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/fuse-2.9.9/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/fuse-2.9.9/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/fuse-2.9.9/lib/modules/subdir.c:137: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/fuse-2.9.9/lib/modules/subdir.c:145: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/fuse-2.9.9/lib/modules/subdir.c:675: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/fuse-2.9.9/lib/modules/subdir.c:676: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/fuse-2.9.9/lib/modules/subdir.c:682: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/fuse-2.9.9/lib/modules/subdir.c:684: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/fuse-2.9.9/lib/mount.c:481: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/fuse-2.9.9/lib/mount.c:482: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/fuse-2.9.9/lib/mount.c:483: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/fuse-2.9.9/lib/mount.c:485: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/fuse-2.9.9/lib/mount.c:493: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/fuse-2.9.9/lib/mount_util.c:38: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/fuse-2.9.9/lib/mount_util.c:39: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/fuse-2.9.9/lib/mount_util.c:271: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/fuse-2.9.9/lib/mount_util.c:300: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/fuse-2.9.9/lib/mount_util.c:300: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/fuse-2.9.9/lib/mount_util.c:302: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/fuse-2.9.9/util/fusermount.c:522: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/fuse-2.9.9/util/fusermount.c:527: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/fuse-2.9.9/util/fusermount.c:552: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/fuse-2.9.9/util/fusermount.c:558: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/fuse-2.9.9/util/fusermount.c:588: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/fuse-2.9.9/util/fusermount.c:624: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/fuse-2.9.9/util/fusermount.c:645: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/fuse-2.9.9/util/fusermount.c:646: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/fuse-2.9.9/util/fusermount.c:676: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/fuse-2.9.9/util/fusermount.c:684: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/fuse-2.9.9/util/fusermount.c:693: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/fuse-2.9.9/util/fusermount.c:703: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/fuse-2.9.9/util/fusermount.c:743: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/fuse-2.9.9/util/fusermount.c:839: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/fuse-2.9.9/util/fusermount.c:840: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/fuse-2.9.9/util/fusermount.c:840: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/fuse-2.9.9/util/fusermount.c:842: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/fuse-2.9.9/util/fusermount.c:1340:2:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
	umask(033);
data/fuse-2.9.9/util/mount.fuse.c:39: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/fuse-2.9.9/util/mount.fuse.c:40: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/fuse-2.9.9/util/mount.fuse.c:64: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/fuse-2.9.9/util/mount.fuse.c:66: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/fuse-2.9.9/util/mount.fuse.c:70: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/fuse-2.9.9/util/mount_util.c:38: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/fuse-2.9.9/util/mount_util.c:39: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/fuse-2.9.9/util/mount_util.c:271: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/fuse-2.9.9/util/mount_util.c:300: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/fuse-2.9.9/util/mount_util.c:300: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/fuse-2.9.9/util/mount_util.c:302: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);

ANALYSIS SUMMARY:

Hits = 330
Lines analyzed = 23584 in approximately 0.61 seconds (38856 lines/second)
Physical Source Lines of Code (SLOC) = 16867
Hits@level = [0] 342 [1] 115 [2] 113 [3]  10 [4]  62 [5]  30
Hits@level+ = [0+] 672 [1+] 330 [2+] 215 [3+] 102 [4+]  92 [5+]  30
Hits/KSLOC@level+ = [0+] 39.8411 [1+] 19.5648 [2+] 12.7468 [3+] 6.04731 [4+] 5.45444 [5+] 1.77862
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.