Thanks for the bug report Jamie, this one would have been easily to slip
by.

It looks like an off-by-one error in the eCryptfs kernel code.  We're
tacking on an extra byte to the symlink target.  Dustin pointed this out
to me and I was able to verify it with `strace readlink -n bar`.  Here's
the interesting line:

readlink("bar", "foo", 64)              = 4

It is reading 4 chars, but since we're adding an extra NULL character
(string terminator), most applications don't care.  I'm guessing that
only something like a version control system would have caught it.  :)

Working to trace down the problem now.

-- 
ecryptfs does not handle symlinks within bzr
https://bugs.launchpad.net/bugs/322532
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to