summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorMichael S. Tsirkin2017-08-21 21:33:33 +0200
committerMichael S. Tsirkin2017-11-14 22:57:39 +0100
commitca2c5b33a285723f517fa296b76f7fd36c383dad (patch)
treea7b6258591856491ab4abd912c93b02958e81670 /.get_maintainer.ignore
parentvhost/scsi: Use safe iteration in vhost_scsi_complete_cmd_work() (diff)
downloadkernel-qcow2-linux-ca2c5b33a285723f517fa296b76f7fd36c383dad.tar.gz
kernel-qcow2-linux-ca2c5b33a285723f517fa296b76f7fd36c383dad.tar.xz
kernel-qcow2-linux-ca2c5b33a285723f517fa296b76f7fd36c383dad.zip
vhost: fix end of range for access_ok
During access_ok checks, addr increases as we iterate over the data structure, thus addr + len - 1 will point beyond the end of region we are translating. Harmless since we then verify that the region covers addr, but let's not waste cpu cycles. Reported-by: Koichiro Den <den@klaipeden.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Koichiro Den <den@klaipeden.com>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions