]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: do not unnecessarily null-terminate encrypted symlink data
authorEric Biggers <ebiggers@google.com>
Thu, 22 Sep 2016 20:31:48 +0000 (13:31 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 1 Oct 2016 00:34:28 +0000 (17:34 -0700)
commitef68bf119788be4b468aa6d72362c8c5bbc3e073
treed5b18da5610e05c5747ee4407eb00171f0d129d9
parentd41065e20484c53d8976742367bb78ac248fb0d5
f2fs: 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: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c