aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2024-01-23 14:48:07 +0000
committerAlex Deucher <[email protected]>2024-01-25 19:58:02 +0000
commit4b09715f1504f1b6e8dff0e9643630610bc05141 (patch)
tree9e68c1ccfb0db41299be079e036bfab76c29ada1 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
parentdrm/amdgpu: Fix module unload hang with RAS enabled (diff)
downloadkernel-4b09715f1504f1b6e8dff0e9643630610bc05141.tar.gz
kernel-4b09715f1504f1b6e8dff0e9643630610bc05141.zip
drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
Tell snprintf() to store at most 10 bytes in the output buffer instead of 30. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:1508 dp_dsc_clock_en_read() error: snprintf() is printing too much 30 vs 10 Fixes: c06e09b76639 ("drm/amd/display: Add DSC parameters logging to debugfs") Cc: Alex Hung <[email protected]> Cc: Qingqing Zhuo <[email protected]> Cc: Rodrigo Siqueira <[email protected]> Cc: Aurabindo Pillai <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c')
0 files changed, 0 insertions, 0 deletions