Fixes buffer overwrite on CONFIG_ARCH_BOARD_AEROCORE

This commit is contained in:
David Sidrane 2016-01-19 13:00:44 -10:00 committed by Lorenz Meier
parent 4614511474
commit 9c6f4de753

View File

@ -1717,7 +1717,7 @@ ssize_t
PX4FMU::write(file *filp, const char *buffer, size_t len)
{
unsigned count = len / 2;
uint16_t values[6];
uint16_t values[8];
#ifdef CONFIG_ARCH_BOARD_AEROCORE