Skip to content
Commit d55d0804 authored by Jan Vesely's avatar Jan Vesely
Browse files

amdgpu: Do not write beyond allocated memory when parsing ids

Fixes crash when/usr/share/libdrm/amdgpu.ids contains ASIC_ID_TABLE_NUM_ENTRIES + 1 entries.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102432


Fixes: 7e6bf88c (amdgpu: move asic id table to a separate file)
Signed-off-by: default avatarJan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: default avatarMichel Dänzer <michel.daenzer@amd.com>
parent 05a830d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment