summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2019-04-12 12:53:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-16 14:56:20 +0300
commitf4e97f5d4c9ece362b9379d3158cf5e4c02404dc (patch)
tree1db2a14a70ab972819be7a2ddaf2d48067a7e552 /drivers/staging/comedi
parent663d294b4768bfd89e529e069bffa544a830b5bf (diff)
downloadlinux-f4e97f5d4c9ece362b9379d3158cf5e4c02404dc.tar.xz
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 [1]. [1] https://lore.kernel.org/lkml/20190411080953.GE421@ming.t460p/ Suggested-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Fixes: 07173c3ec276 ("block: enable multipage bvecs") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
0 files changed, 0 insertions, 0 deletions