diff options
| author | 2026-05-19 17:31:54 +0800 | |
|---|---|---|
| committer | 2026-06-03 13:52:57 -0400 | |
| commit | c83e4a45ff9a0b7aa1c48246102009a99ccef11b (patch) | |
| tree | 935007c10c80646fb7543ec9203306bd567445fb /tools/lib/python/kdoc/python_version.py | |
| parent | drm/amd/ras: validate RAS EEPROM tbl_size before record count (diff) | |
drm/amdgpu: validate RAS EEPROM tbl_size before record count
Corrupt EEPROM data can set tbl_size below the table header size.
Guard the RAS_NUM_RECS macros against undersized tbl_size and reset
the table during init when tbl_size is below the minimum for the table
version instead of trusting the header.
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
