diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-07-15 16:59:57 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-08-09 13:42:56 -0500 |
commit | 6303049d16f0e69d0449c3c80d0e3695d4f02f94 (patch) | |
tree | d38ac779a18ed87de625612cd2ab8149e4525972 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4e0d77f8e831fcbe86a02dd0ead12d9c8c057700 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions