diff options
| author | Thorsten Blum <[email protected]> | 2025-04-27 11:34:24 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <[email protected]> | 2025-04-30 18:04:59 +0000 |
| commit | c44572e0cc13c9afff83fd333135a0aa9b27ba26 (patch) | |
| tree | 01b0cd68b843a4214fb385fc157fa2a9b20929bb /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | MIPS: CPS: Fix potential NULL pointer dereferences in cps_prepare_cpus() (diff) | |
| download | kernel-c44572e0cc13c9afff83fd333135a0aa9b27ba26.tar.gz kernel-c44572e0cc13c9afff83fd333135a0aa9b27ba26.zip | |
MIPS: Fix MAX_REG_OFFSET
Fix MAX_REG_OFFSET to point to the last register in 'pt_regs' and not to
the marker itself, which could allow regs_get_register() to return an
invalid offset.
Fixes: 40e084a506eb ("MIPS: Add uprobes support.")
Suggested-by: Maciej W. Rozycki <[email protected]>
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
