diff options
author | 2021-07-15 16:59:57 -0500 | |
---|---|---|
committer | 2021-08-09 13:42:56 -0500 | |
commit | 6303049d16f0e69d0449c3c80d0e3695d4f02f94 (patch) | |
tree | d38ac779a18ed87de625612cd2ab8149e4525972 /tools/perf/scripts/python | |
parent | PCI/VPD: Treat initial 0xff as missing EEPROM (diff) | |
download | linux-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