Files
PX4-Autopilot/src
Ramon Roche d7153b7abb mavlink: fix stack buffer overflow in log handler filepath parsing
- Size LogEntry.filepath to PX4_MAX_FILEPATH instead of hardcoded 60 bytes
- Add width specifier to sscanf calls to prevent buffer overflow
- Move platform defines from .cpp to .h for reuse
- Add static_assert to enforce scanf width < buffer size at compile time

Co-authored-by: Cavan O'Horo <cavan.ohoro@gmail.com>
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-03-02 11:02:15 -08:00
..
2023-11-08 00:31:26 -05:00