mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-27 17:43:07 +08:00
remove arm-gcc 12.1 warning: array subscript -512 is outside array bounds of 'uint32_t[536870911]
This commit is contained in:
parent
05e48b07cc
commit
db21576612
1 changed files with 1 additions and 1 deletions
|
@ -2477,7 +2477,7 @@ void __attribute__((noreturn)) AppMain(void) {
|
|||
SpinDelay(100);
|
||||
BigBuf_initialize();
|
||||
|
||||
for (uint32_t *p = _stack_start; p < _stack_end - 0x200; ++p) {
|
||||
for (uint32_t *p = _stack_start; p + 0x200 < _stack_end ; ++p) {
|
||||
*p = 0xdeadbeef;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue