projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5c7b4
)
fix emergency unmount in helper.c
author
Csaba Henk
<csaba.henk@creo.hu>
Sat, 3 Jun 2006 23:04:18 +0000
(23:04 +0000)
committer
Csaba Henk
<csaba.henk@creo.hu>
Sat, 3 Jun 2006 23:04:18 +0000
(23:04 +0000)
ChangeLog
patch
|
blob
|
history
lib/helper.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 041dfcb6ff81088ee5fa224b792bb3a7a6ec9367..d8369ec70bff7b55aa2fe9c032d8682948dc99f5 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2006-06-04 Csaba Henk <csaba.henk@creo.hu>
+
+ * lib: fix emergency umount in helper.c when malloc fails.
+ (The way it was done would end up in a segfault.)
+
2006-06-01 Csaba Henk <csaba.henk@creo.hu>
* lib: adjust threading related compiler flags.
diff --git
a/lib/helper.c
b/lib/helper.c
index bcdd60b958ba29541ce8511cfbf35a28d43ccab6..7f8ffa5709c5336291326e962b7acab503f6ba20 100644
(file)
--- a/
lib/helper.c
+++ b/
lib/helper.c
@@
-195,7
+195,7
@@
static struct fuse_chan *fuse_mount_common(const char *mountpoint,
ch = fuse_kern_chan_new(fd);
if (!ch)
- fuse_
unmount(mountpoint, NULL
);
+ fuse_
kern_unmount(mountpoint, fd
);
return ch;
}