diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-08-30 16:33:31 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-09-05 23:40:31 +0300 |
commit | 1618e6e297082def6350887e1c6c606749716fac (patch) | |
tree | 7e533c0fffd3b552aadae0cf02cbc7385a1cb503 /drivers/fsi | |
parent | b36fdc6853a38a6f8749897a33435635019e0647 (diff) | |
download | linux-1618e6e297082def6350887e1c6c606749716fac.tar.xz |
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 'drivers/fsi')
0 files changed, 0 insertions, 0 deletions