diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-08-30 15:33:31 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-05 22:40:31 +0200 |
commit | 1618e6e297082def6350887e1c6c606749716fac (patch) | |
tree | 7e533c0fffd3b552aadae0cf02cbc7385a1cb503 /fs/f2fs/dir.c | |
parent | Merge tag 'gpio-v4.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
download | linux-1618e6e297082def6350887e1c6c606749716fac.tar.xz linux-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/dir.c')
0 files changed, 0 insertions, 0 deletions