commit | 637f1bf6003da4e2cd85a6c4ffb40326e97557ec | [log] [tgz] |
---|---|---|
author | Gao Xiang <gaoxiang25@huawei.com> | Thu Apr 11 18:55:55 2019 +0800 |
committer | Chao Yu <yuchao0@huawei.com> | Fri Apr 12 07:44:53 2019 +0800 |
tree | 568f2a64b0d730f9b9a8cfc326aa2f4a810b2d5d | |
parent | 932f98922f6fca9f8c45274346b49058dd50d51a [diff] |
staging: erofs: fix unexpected out-of-bound data access Unexpected out-of-bound data will be read in erofs_read_raw_page after commit 07173c3ec276 ("block: enable multipage bvecs") since one iovec could have multiple pages. Let's fix as what Ming's pointed out in the previous email. Suggested-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>