Skip to content

Commit

Permalink
text
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Aug 28, 2023
1 parent 7196150 commit c8cfd4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions armsrc/appmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c8cfd4a

Please sign in to comment.