summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorStanley.Yang <Stanley.Yang@amd.com>2026-05-12 19:10:23 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 13:50:42 -0400
commitc990c05eb6c74c98d1ff3acf67a19015312820b7 (patch)
tree169994fa51ece9a19fde00c6789c347d9c4b8570 /include/linux/timerqueue.h
parent7822e87bb77e906465c5d1e43818e1b34b59ee04 (diff)
drm/amdgpu: harden FRU PIA parsing with bounded helpers
Replace the open-coded TLV walk with fru_pia_advance() and fru_pia_copy_field() helpers that bound every read by the actual EEPROM data length, preventing out-of-bounds reads on truncated or malformed FRU data. Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions