summaryrefslogtreecommitdiff
path: root/drivers/fsi
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-08-30 16:33:31 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2018-09-05 23:40:31 +0300
commit1618e6e297082def6350887e1c6c606749716fac (patch)
tree7e533c0fffd3b552aadae0cf02cbc7385a1cb503 /drivers/fsi
parentb36fdc6853a38a6f8749897a33435635019e0647 (diff)
downloadlinux-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