diff options
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2009-02-06 18:06:51 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-06 18:36:40 -0800 |
commit | fd9fc842bbab0cb5560b0d52ce4598c898707863 (patch) | |
tree | ff8fc9b1c964debf18ba662558b26bf7bb7513cc /kernel | |
parent | eeb94855beeb7fde5f9e2ed72fe6a8b24cd5a3c7 (diff) | |
download | blackbird-op-linux-fd9fc842bbab0cb5560b0d52ce4598c898707863.tar.gz blackbird-op-linux-fd9fc842bbab0cb5560b0d52ce4598c898707863.zip |
eCryptfs: Regression in unencrypted filename symlinks
The addition of filename encryption caused a regression in unencrypted
filename symlink support. ecryptfs_copy_filename() is used when dealing
with unencrypted filenames and it reported that the new, copied filename
was a character longer than it should have been.
This caused the return value of readlink() to count the NULL byte of the
symlink target. Most applications don't care about the extra NULL byte,
but a version control system (bzr) helped in discovering the bug.
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions