Re: [f2fs-dev] [PATCH] ext4: do not unnecessarily null-terminate encrypted symlink data

2016-09-29 Thread Theodore Ts'o
On Thu, Sep 22, 2016 at 01:31:47PM -0700, Eric Biggers wrote: > Null-terminating the fscrypt_symlink_data on read is unnecessary because > it is not string data --- it contains binary ciphertext. > > Signed-off-by: Eric Biggers Thanks, applied. - Ted ---

[f2fs-dev] [PATCH] ext4: do not unnecessarily null-terminate encrypted symlink data

2016-09-22 Thread Eric Biggers
Null-terminating the fscrypt_symlink_data on read is unnecessary because it is not string data --- it contains binary ciphertext. Signed-off-by: Eric Biggers --- fs/ext4/symlink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ext4/symlink.c b/fs/ext4/symlink.c index 0a26cbd..fdf1c61 10