]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
xen: fix ioreq handling
authorJan Beulich <jbeulich@suse.com>
Tue, 22 Nov 2016 19:13:00 +0000 (11:13 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 Nov 2016 19:13:00 +0000 (11:13 -0800)
commitba9175c5bde6796851d3b9d888ee488fd0257d05
tree3ab77db7d33adeda727b3aa8db3d3d49e2c2c50c
parentebfc90b51d09e0a3330a4702bb23223cf088eabd
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