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:
parent
d954eeb75a
commit
2ac7f9d910
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user