+2005-02-15 Miklos Szeredi <miklos@szeredi.hu>
+
+ * libfuse: clean up some unitialized memory found with valgrind
+
2005-02-10 Miklos Szeredi <miklos@szeredi.hu>
* fusermount: set umask, otherwise /etc/mtab will have
struct fuse_open_out outarg;
struct fuse_file_info fi;
+ memset(&outarg, 0, sizeof(outarg));
memset(&fi, 0, sizeof(fi));
fi.flags = arg->flags;
res = -ENOENT;
struct fuse_dirhandle *dh;
(void) arg;
-
+ memset(&outarg, 0, sizeof(outarg));
res = -ENOMEM;
dh = (struct fuse_dirhandle *) malloc(sizeof(struct fuse_dirhandle));
if (dh != NULL) {
+ memset(dh, 0, sizeof(struct fuse_dirhandle));
dh->fuse = f;
dh->contents = NULL;
dh->len = 0;