]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
xen: fix ioreq handling
authorJan Beulich <jbeulich@suse.com>
Tue, 22 Nov 2016 19:16:27 +0000 (11:16 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 Nov 2016 19:16:27 +0000 (11:16 -0800)
commit37a460ca696381bb14dfbf012d7a062c7c05c324
tree8ad05729028e3a47b09b9af881072498f7b26fcc
parent835c204f1196ab8f5213a9dc5299ed76e748cdca
xen: fix ioreq handling

Avoid double fetches and bounds check size to avoid overflowing
internal variables.

This is XSA-197.

Reported-by: yanghongke <yanghongke@huawei.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen-hvm.c