1
0
mirror of https://github.com/fuse-friends/fuse-native synced 2024-10-27 18:34:01 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Jan Kühle
8769284245 Fix possible deadlock because of never unlocked mutex during failed unmount (#31)
* Fix possible deadlock because of never unlocked mutex during failed unmount.

* Fix segmentation fault after unmounting.

Scenario:
1. Mount path /a
2. Mount path /b
3. Unmount path /b
4. Appempt to read from path /a will throw segmentation fault.

Reason:
The function bindings_alloc correctly allocates memory and sets the index property of the binding. Afterwards the mount function does memset again for the binding and resets the index to zero. Unmounting will now always NULL the binding at position zero. However the actual binding on position zero is still mounted and the next access to it results in segmentation fault.
2016-10-17 13:50:38 +02:00
Mathias Buus
f6fe161228 clean up #7 2015-08-08 22:56:37 +02:00
Raymond Hammarling
e1babe507a Change mode 188 to 33188 for file 'test' from example.js 2015-08-07 04:05:36 +02:00
Raymond Hammarling
89f657fbda invoke dokanctl.exe to unmount paths on Windows 2015-08-07 00:46:14 +02:00
Raymond Hammarling
cc81654ac1 fixes on Windows for example 2015-08-06 23:29:42 +02:00
Raymond Hammarling
4aa5a3da3a added Windows abstractions + dokany (still wip)
dokany found at `dokan-dev/dokany`
2015-08-06 21:33:27 +02:00
Mathias Buus
07352cfe10 better error handling and mount callback 2015-03-17 13:32:09 +01:00
Mathias Buus
e1c5e870de fix example 2015-03-15 11:29:28 +01:00
Mathias Buus
af505ffc05 update example 2015-03-12 03:12:36 +01:00
Mathias Buus
b249f974cd first commit 2015-03-12 03:11:29 +01:00