diff options
author | Sebastian Lackner | 2017-12-11 03:56:31 +0100 |
---|---|---|
committer | rfjakob | 2017-12-11 09:55:16 +0100 |
commit | 96dc2ca70906c831b60be1c6ed3a27dbf7628e72 (patch) | |
tree | 5fdbe793f504f65a5f14ebba12ca603139e28b18 /tests/defaults/ctlsock_test.go | |
parent | 3af51736f3f19659d723f60aa480578fae2cddbc (diff) |
fusefrontend_reverse: Reject access to device nodes in newFile function
Steps to reproduce:
* Create a regular reverse mount point
* Create a file "test" in the original directory
* Access the corresponding encrypted directory in the mount point (ls <encrypted dir>)
* Quickly delete the file in the original data - instead create a device node
* Access the file again, it will access the device node and attempt to read from it
Fixes https://github.com/rfjakob/gocryptfs/issues/187
Diffstat (limited to 'tests/defaults/ctlsock_test.go')
0 files changed, 0 insertions, 0 deletions