On Fri, Dec 01, 2023 at 08:49:58PM +0100, Matthias Reichl wrote:
I'm not familiar with the regcache code but it looks a bit like the return value from the regcache_read check is leaking out - not assigning the value to ret seems to resolve the issue, too (no idea though if that would be the correct fix):
That looks sensible, can you submit as a proper patch please?