[Bug 1175807] Re: [libfuse2:amd64-2.9.0-1ubuntu] sshfs assert failure : *** Error in sshfs`: double free or corruption
wizwiz50
1175807 at bugs.launchpad.net
Thu May 2 22:40:49 UTC 2013
corrected on
http://fuse.git.sourceforge.net/git/gitweb.cgi?p=fuse/fuse;a=blob_plain;f=lib/fuse.c;hb=HEAD
static int try_get_path2(struct fuse *f, fuse_ino_t nodeid1, const char *name1,
fuse_ino_t nodeid2, const char *name2,
char **path1, char **path2,
struct node **wnode1, struct node **wnode2)
{
int err;
/* FIXME: locking two paths needs deadlock checking */
err = try_get_path(f, nodeid1, name1, path1, wnode1, true);
if (!err) {
err = try_get_path(f, nodeid2, name2, path2, wnode2, true);
if (err) {
struct node *wn1 = wnode1 ? *wnode1 : NULL;
unlock_path(f, nodeid1, wn1, NULL);
free(*path1);
}
}
return err;
}
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fuse in Ubuntu.
https://bugs.launchpad.net/bugs/1175807
Title:
[libfuse2:amd64-2.9.0-1ubuntu] sshfs assert failure : *** Error in
sshfs`: double free or corruption
Status in “fuse” package in Ubuntu:
New
Bug description:
Hello,
I think there's a double free in fuse.c:1165
static int try_get_path2()
{
(...)
unlock_path(f, nodeid1, wn1, NULL, ticket);
free(path1); // fuse.c:1165 : should be "free(*path1);":
if (ticket && err != -EAGAIN)
(...)
}
Thank you
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/1175807/+subscriptions
More information about the foundations-bugs
mailing list