summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-03-26 13:28:38 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-04-07 15:18:59 -0400
commit5df0d6addb7e9b6f71f7162d1253762a5be9138e (patch)
tree9e69991b1528d75061678eaa103174af4f22783f /tools/perf/scripts/python
parentdaafa303d19f5522e4c24fbf5c1c981a16df2c2f (diff)
downloadlinux-5df0d6addb7e9b6f71f7162d1253762a5be9138e.tar.gz
linux-5df0d6addb7e9b6f71f7162d1253762a5be9138e.zip
drm/amdgpu: Add basic validation for RAS header
If RAS header read from EEPROM is corrupted, it could result in trying to allocate huge memory for reading the records. Add some validation to header fields. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions