Increase buffer size to account for unintended overflow

pull/638/head
Jon Beniston 2020-09-18 16:52:21 +01:00
rodzic d954eeb75a
commit 2ac7f9d910
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -210,8 +210,8 @@ void PacketModGUI::on_insertPosition_clicked(bool checked)
int latDeg, latMin, latFrac, latNorth;
int longDeg, longMin, longFrac, longEast;
char latBuf[10];
char longBuf[11];
char latBuf[40];
char longBuf[40];
// Convert decimal latitude to degrees, min and hundreths of a minute
latNorth = latitude >= 0.0f;