From b68ed042c025c797d697f5332b62622b92caf629 Mon Sep 17 00:00:00 2001 From: MarkusVolk Date: Fri, 10 Jan 2020 06:42:12 +0100 Subject: [PATCH] bouquetlist.cpp: increase destination array to avoid possible truncation Signed-off-by: MarkusVolk --- src/gui/bouquetlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index ba86db0bd..3c1c547e0 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -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) &&