ArduPilot/ardupilot

nmea output code should use fixed buffer and fix snprintf issues

Open

#12,514 opened on Oct 8, 2019

View on GitHub
 (5 comments) (0 reactions) (0 assignees)C++ (9,336 stars) (15,603 forks)batch import
BUGLibrarygood first issue

Description

The AP_NMEA_Output code should allocate buffers once for max size of strings, and also needs to fix the use of snprintf for the lng_string to ensure it doesn't end up with an unterminated string in %s for next printf

Contributor guide