]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
passthrough: fix off-by-one in PCI config space register index check
authorJan Beulich <jbeulich@suse.com>
Fri, 29 Jun 2012 16:06:25 +0000 (17:06 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 29 Jun 2012 16:06:25 +0000 (17:06 +0100)
commitfa2e8e3bc869c04d4a4d9b8f70c1cab7e53778d6
tree953b60a7e416d601aea4ed15668bbe0381f69aaf
parent94a7bdc2e7797df2dab1c26216349f66e0f3490a
passthrough: fix off-by-one in PCI config space register index check

Register 255 (0xff) is still valid to be accessed.

Reported-by: Rolu <rolu@roce.org>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
hw/pass-through.c