diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-05 12:33:36 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-02-05 12:33:36 +0100 |
commit | 9f4ba56b526db562abc67d62f502fa2858587b43 (patch) | |
tree | 3c5866fb50319f90aea53f76a7052866a5fbc56e | |
parent | ce6753c88f1d06e537d8f04bc5caf4a87749386c (diff) | |
download | sshfs-9f4ba56b526db562abc67d62f502fa2858587b43.tar sshfs-9f4ba56b526db562abc67d62f502fa2858587b43.tar.gz sshfs-9f4ba56b526db562abc67d62f502fa2858587b43.tar.bz2 sshfs-9f4ba56b526db562abc67d62f502fa2858587b43.zip |
Add FIXME for deadlock if $PATH contains mountpoint.
Reported by Joachim Kopp
-rw-r--r-- | sshfs.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |