diff options
author | M. Vefa Bicakci | 2017-03-07 12:09:09 +0300 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-03-07 20:46:58 +0100 |
commit | d48ccb3ddab71773a991b8f1b062901ff5b435b0 (patch) | |
tree | 54aab9db59a7d7cc43ca2e1199d6f9aa1ff388c4 /internal/contentenc/file_header.go | |
parent | 6e9b6e17c33b4471c30248c11b292468fe4ab912 (diff) |
Report correct symbolic link dentry sizes
Prior to this commit, gocryptfs's reverse mode did not report correct
directory entry sizes for symbolic links, where the dentry size needs to
be the same as the length of a string containing the target path.
This commit corrects this issue and adds a test case to verify the
correctness of the implementation.
This issue was discovered during the use of a strict file copying program
on a reverse-mounted gocryptfs file system.
Diffstat (limited to 'internal/contentenc/file_header.go')
0 files changed, 0 insertions, 0 deletions