[PATCH] libc: arm: setjmp jmp_buf exagerated size

Bernhard Krug b.krug@elektronenpumpe.de
Wed Feb 15 17:14:25 GMT 2023

On February 15, 2023 6:01:05 PM GMT+01:00, Richard Earnshaw <Richard.Earnshaw@foss.arm.com> wrote:
>But you can build your source file with a jmp_buf in it, and if you then end up linking it against a version of the library that expects a larger buffer it will end up corrupting data.
You are right. I didn't consider this in my MCU project yet :D
Thank you.

More information about the Newlib mailing list