libmprompt
libmprompt copied to clipboard
Fix stack overwrite bug on AArch64
This was harmless on debug builds because it only overwrote some dead local variables in the caller, but broke optimised builds.
I'm not entirely sure about the CFI, but gdb gives plausible backtraces.
On a related note, we also have a Morello branch that you might be interested in...