Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librefuse Don't ignore "userdata" argument in "fuse_main...
details: https://anonhg.NetBSD.org/src/rev/ee2ccf2183e3
branches: trunk
changeset: 767107:ee2ccf2183e3
user: tron <tron%NetBSD.org@localhost>
date: Sat Jul 09 14:50:00 2011 +0000
description:
Don't ignore "userdata" argument in "fuse_main_real". This can crash
a FUSE file-system that passes a non-NULL argument here.
diffstat:
lib/librefuse/refuse.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 824f86f1351e -r ee2ccf2183e3 lib/librefuse/refuse.c
--- a/lib/librefuse/refuse.c Sat Jul 09 14:49:40 2011 +0000
+++ b/lib/librefuse/refuse.c Sat Jul 09 14:50:00 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: refuse.c,v 1.92 2009/03/05 01:21:57 msaitoh Exp $ */
+/* $NetBSD: refuse.c,v 1.93 2011/07/09 14:50:00 tron Exp $ */
/*
* Copyright © 2007 Alistair Crooks. All rights reserved.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: refuse.c,v 1.92 2009/03/05 01:21:57 msaitoh Exp $");
+__RCSID("$NetBSD: refuse.c,v 1.93 2011/07/09 14:50:00 tron Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -1221,8 +1221,8 @@
int multithreaded;
int fd;
- fuse = fuse_setup(argc, argv, ops, size, &mountpoint, &multithreaded,
- &fd);
+ fuse = fuse_setup_real(argc, argv, ops, size, &mountpoint,
+ &multithreaded, &fd, userdata);
return fuse_loop(fuse);
}
Home |
Main Index |
Thread Index |
Old Index