diff options
author | Jakob Unterwurzacher | 2018-09-18 19:35:31 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-09-18 19:39:52 +0200 |
commit | 5ca6243eeb0df43ba0387029c2d8eceffa3172e2 (patch) | |
tree | f3ba72344015284ed3f391509bcbf8182a6d71d1 /internal/nametransform/names.go | |
parent | e8d8ae54d3b852d1d35b6db81d4a0beb57fbdce1 (diff) |
main: sanitize commas from fsname
The cipherdir path is used as the fsname, as displayed
in "df -T". Now, having a comma in fsname triggers a sanity check
in go-fuse, aborting the mount with:
/bin/fusermount: mount failed: Invalid argument
fuse.NewServer failed: fusermount exited with code 256
Sanitize fsname by replacing any commas with underscores.
https://github.com/rfjakob/gocryptfs/issues/262
Diffstat (limited to 'internal/nametransform/names.go')
0 files changed, 0 insertions, 0 deletions