ArduPilot/ardupilot

nmea output code should use fixed buffer and fix snprintf issues

Aperta

#12.514 aperta il 8 ott 2019

 (5 commenti) (0 reazioni) (0 assegnatari)C++ (15.603 fork)batch import
BUGLibrarygood first issue

Metriche repository

Star
 (9336 stelle)
Metriche merge PR
 (Merge medio 26g 16h) (166 PR mergiate in 30 g)

Descrizione

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

Guida contributor