]> xenbits.xensource.com Git - qemu-upstream-4.4-testing.git/commit
xen: fix ioreq handling
authorJan Beulich <jbeulich@suse.com>
Tue, 22 Nov 2016 19:21:22 +0000 (11:21 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 Nov 2016 19:21:22 +0000 (11:21 -0800)
commit5fadf00bf21ad3706f69b12877cd76aab4e17ecd
tree7245f5521df6cab171a2db42669380bd9f951c87
parente72488cdcf2208f2df334fa88c35b33e695fa93b
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-all.c