From c8cfd4a517cfa83c0ce5697fdbc66eba9804dffc Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 28 Aug 2023 15:36:29 +0200 Subject: [PATCH] text --- armsrc/appmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 5908ed855f..900cb65175 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -2723,6 +2723,7 @@ void __attribute__((noreturn)) AppMain(void) { SpinDelay(100); BigBuf_initialize(); + // Add stack canary for (uint32_t *p = _stack_start; p + 0x200 < _stack_end ; ++p) { *p = 0xdeadbeef; }