This commit is contained in:
iceman1001 2023-08-28 15:36:29 +02:00
parent 71961501d4
commit c8cfd4a517

View file

@ -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;
}