ext4: do not unnecessarily null-terminate encrypted symlink data
authorEric Biggers <ebiggers@google.com>
Fri, 30 Sep 2016 05:44:17 +0000 (01:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 30 Sep 2016 05:44:17 +0000 (01:44 -0400)
commitcc91542ac8f29d8446ef59234796b95f0fbce09a
tree742741c73d8ec48e8950f870ce6497786e82fdc3
parente81d44778d1d57bbaef9e24c4eac7c8a7a401d40
ext4: do not unnecessarily null-terminate encrypted symlink data

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 <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/symlink.c