aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-08-30 21:33:31 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-05 13:40:31 -0700
commit1618e6e297082def6350887e1c6c606749716fac (patch)
tree7e533c0fffd3b552aadae0cf02cbc7385a1cb503 /fs/f2fs/file.c
parentMerge tag 'gpio-v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio (diff)
downloadlinux-dev-1618e6e297082def6350887e1c6c606749716fac.tar.xz
linux-dev-1618e6e297082def6350887e1c6c606749716fac.zip
f2fs: add additional sanity check in f2fs_acl_from_disk()
Add additinal sanity check for irregular case(e.g. corruption). If size of extended attribution is smaller than size of acl header, then return -EINVAL. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
0 files changed, 0 insertions, 0 deletions