From 9f4ba56b526db562abc67d62f502fa2858587b43 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 5 Feb 2013 12:33:36 +0100 Subject: Add FIXME for deadlock if $PATH contains mountpoint. Reported by Joachim Kopp --- sshfs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sshfs.c b/sshfs.c index 4945302..125a368 100644 --- a/sshfs.c +++ b/sshfs.c @@ -3863,6 +3863,10 @@ int main(int argc, char *argv[]) exit(1); } + /* + * FIXME: trim $PATH so it doesn't contain anything inside the + * mountpoint, which would deadlock. + */ res = ssh_connect(); if (res == -1) { fuse_unmount(mountpoint, ch); -- cgit v1.2.3