mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
bouquetlist.cpp: increase destination array to avoid possible truncation
Signed-off-by: MarkusVolk <f_l_k@t-online.de>
This commit is contained in:
@@ -682,7 +682,7 @@ void CBouquetList::paintItem(int pos)
|
||||
}
|
||||
|
||||
if (npos < (int) Bouquets.size()) {
|
||||
char num[10];
|
||||
char num[12];
|
||||
snprintf(num, sizeof(num), "%d", npos + 1);
|
||||
int iw = 0, ih = 0;
|
||||
if ((g_settings.epg_scan == CEpgScan::SCAN_SEL) &&
|
||||
|
Reference in New Issue
Block a user