[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <D9B3A1C9-5E85-438A-86A7-6FFC3E7BCC67@linux.dev>
Date: Mon, 28 Apr 2025 08:11:54 +0200
From: Thorsten Blum <thorsten.blum@...ux.dev>
To: "Maciej W. Rozycki" <macro@...am.me.uk>
Cc: Oleg Nesterov <oleg@...hat.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] MIPS: Fix MAX_REG_OFFSET
On 28. Apr 2025, at 03:35, Maciej W. Rozycki wrote:
> On Sun, 27 Apr 2025, Thorsten Blum wrote:
>> 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.")
>> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
>> ---
>> Compile-tested only.
>>
>> Changes in v2:
>> - Fix MAX_REG_OFFSET as suggested by Maciej (thanks!)
>
> You're welcome; please add a `Suggested-by' tag accordingly.
Suggested-by: Maciej W. Rozycki <macro@...am.me.uk>
Powered by blists - more mailing lists