aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2021-07-15 16:59:57 -0500
committerBjorn Helgaas <bhelgaas@google.com>2021-08-09 13:42:56 -0500
commit6303049d16f0e69d0449c3c80d0e3695d4f02f94 (patch)
treed38ac779a18ed87de625612cd2ab8149e4525972 /tools/perf/scripts/python
parentPCI/VPD: Treat initial 0xff as missing EEPROM (diff)
downloadlinux-dev-6303049d16f0e69d0449c3c80d0e3695d4f02f94.tar.xz
linux-dev-6303049d16f0e69d0449c3c80d0e3695d4f02f94.zip
PCI/VPD: Reject resource tags with invalid size
VPD is limited in size by the 15-bit VPD Address field in the VPD Capability. Each resource tag includes a length that determines the overall size of the resource. Reject any resources that would extend past the maximum VPD size. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions