Files
linux-stable-mirror/arch/mips/include/asm
Thorsten BlumandGreg Kroah-Hartman 1c0620213f MIPS: Fix MAX_REG_OFFSET
[ Upstream commit c44572e0cc ]

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: 40e084a506 ("MIPS: Add uprobes support.")
Suggested-by: Maciej W. Rozycki <macro@orcam.me.uk>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-18 08:24:09 +02:00
..
2023-06-09 17:44:13 -07:00
2024-01-25 15:35:49 -08:00
2023-08-15 10:22:23 +02:00
2025-05-18 08:24:09 +02:00
2023-04-12 15:01:09 +02:00
2023-06-09 10:34:14 +02:00
2023-02-19 09:28:30 +01:00
2023-04-12 15:01:09 +02:00