1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-09-27 07:16:48 -04:00

Increase buffer size to account for unintended overflow

This commit is contained in:
Jon Beniston 2020-09-18 16:52:21 +01:00
parent d954eeb75a
commit 2ac7f9d910

View File

@ -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;