commit | 1618e6e297082def6350887e1c6c606749716fac | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Thu Aug 30 21:33:31 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Sep 05 13:40:31 2018 -0700 |
tree | 7e533c0fffd3b552aadae0cf02cbc7385a1cb503 | |
parent | b36fdc6853a38a6f8749897a33435635019e0647 [diff] |
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>