1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 12:51:49 -05: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 latDeg, latMin, latFrac, latNorth;
int longDeg, longMin, longFrac, longEast; int longDeg, longMin, longFrac, longEast;
char latBuf[10]; char latBuf[40];
char longBuf[11]; char longBuf[40];
// Convert decimal latitude to degrees, min and hundreths of a minute // Convert decimal latitude to degrees, min and hundreths of a minute
latNorth = latitude >= 0.0f; latNorth = latitude >= 0.0f;