| 标题 | px4 1.12.3 stack-buffer-overflow |
|---|
| 描述 | During a PX4 simulator test, the system encountered a crash caused by a stack buffer overflow triggered by sending a series of data packets. The error occurred at line 1808 in the mavlink_receiver.cpp file, within the MavlinkReceiver::handle_message_trajectory_representation_waypoints function. This function is responsible for handling TRAJECTORY_REPRESENTATION_WAYPOINTS messages received via the MAVLink protocol and decoding their contents into a locally defined buffer variable. However, this buffer is allocated on the stack and does not have sufficient capacity to hold the entire message data structure, resulting in a buffer overflow during the decoding process. |
|---|
| 来源 | ⚠️ https://github.com/PX4/PX4-Autopilot/issues/24915 |
|---|
| 用户 | wwsshh (UID 85759) |
|---|
| 提交 | 2025-05-26 14時33分 (1 年前) |
|---|
| 管理 | 2025-06-04 13時43分 (9 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 311127 [PX4-Autopilot 1.12.3 TRAJECTORY_REPRESENTATION_WAYPOINTS Message mavlink_receiver.cpp 内存损坏] |
|---|
| 积分 | 20 |
|---|