I tested different kernels and two filesystem (xfs and ext4). It turns
out that we cannot read less than value_size (which is 81 in ecryptfs)
buffer when doing ecryptfs_read_and_validate_xattr_region(). In
ecryptfs_read_and_validate_xattr_region() function, "file_size" array is
the buffer we're going to read from xatte region and write. The
reasonable solution is read 4096 instead of 16 from xattr region.

Any thoughts?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1612492

Title:
  remounting breaks size reporting and rsync

To manage notifications about this bug go to:
https://bugs.launchpad.net/ecryptfs/+bug/1612492/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to