mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Fix array bounds overrun in Blackbox logging
This commit is contained in:
parent
e6a40d732d
commit
b739a57ea2
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ static void writeIntraframe(void)
|
||||||
static void writeInterframe(void)
|
static void writeInterframe(void)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
int32_t deltas[5];
|
int32_t deltas[7];
|
||||||
|
|
||||||
blackboxValues_t *blackboxCurrent = blackboxHistory[0];
|
blackboxValues_t *blackboxCurrent = blackboxHistory[0];
|
||||||
blackboxValues_t *blackboxLast = blackboxHistory[1];
|
blackboxValues_t *blackboxLast = blackboxHistory[1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue