]> xenbits.xensource.com Git - qemu-xen-traditional.git/commit
xen: fix ioreq handling xen-4.8.0 xen-4.8.0-rc7
authorJan Beulich <jbeulich@suse.com>
Tue, 29 Nov 2016 16:36:38 +0000 (16:36 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 29 Nov 2016 16:36:38 +0000 (16:36 +0000)
commit89c4cbe8d234049b0145e4dc5e5d19d626250b57
treeafd84837af67a7f934baa59e3412a9aef4491072
parentc4e0d84d3c92923fdbc7fa922638d54e5e834753
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: Ian Jackson <ian.jackson@eu.citrix.com>
i386-dm/helper2.c