mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fixes buffer overwrite on CONFIG_ARCH_BOARD_AEROCORE
This commit is contained in:
parent
4614511474
commit
9c6f4de753
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user