diff --git a/armsrc/Standalone/hf_bog.c b/armsrc/Standalone/hf_bog.c index eaa69cd47..5a950bddc 100644 --- a/armsrc/Standalone/hf_bog.c +++ b/armsrc/Standalone/hf_bog.c @@ -205,8 +205,7 @@ void RAMFUNC SniffAndStore(uint8_t param) { if (auth_attempts > 0) { if (DBGLEVEL > 1) Dbprintf("[!] Authentication attempts = %u", auth_attempts); - - if + size_t size = 4 * auth_attempts; uint8_t *data = BigBuf_malloc(size);