1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

Fix array bounds overrun in Blackbox logging

This commit is contained in:
Nicholas Sherlock 2015-05-14 13:11:58 +12:00
parent e6a40d732d
commit b739a57ea2

View file

@ -517,7 +517,7 @@ static void writeIntraframe(void)
static void writeInterframe(void)
{
int x;
int32_t deltas[5];
int32_t deltas[7];
blackboxValues_t *blackboxCurrent = blackboxHistory[0];
blackboxValues_t *blackboxLast = blackboxHistory[1];