- scan_setup: fix possible format-truncation error

truncated writing between 1 and 10 bytes into a region of size 5
This commit is contained in:
max_10
2021-12-20 16:23:02 +01:00
committed by Thilo Graf
parent 2996dde342
commit 111389fb2d

View File

@@ -2058,7 +2058,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
{
std::map<int, transponder> tmplist;
std::map<int, transponder>::iterator tmpI;
char cnt[5];
char cnt[11];
int select = -1;
static int old_selected = 0;
static t_satellite_position old_position = 0;