Prasad J Pandit f7d6a635fa pci: assert configuration access is within bounds
While accessing PCI configuration bytes, assert that
'address + len' is within PCI configuration space.

Generally it is within bounds. This is more of a defensive
assert, in case a buggy device was to send 'address' which
may go out of bounds.

Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <20200604113525.58898-1-ppandit@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-06-09 14:18:04 -04:00
..
2019-03-18 09:39:57 +01:00
2019-02-05 10:58:33 -05:00
2020-06-09 09:31:34 -04:00
2019-10-24 19:24:56 +02:00
2019-12-17 19:33:49 +01:00
2019-08-16 13:31:52 +02:00
2020-05-15 07:08:14 +02:00
2017-07-03 22:29:49 +03:00