subchannel_select: fix possible format-truncation error

output between 5 and 152 bytes into a destination of size 100
This commit is contained in:
2020-01-06 16:57:30 +01:00
parent cfb537791e
commit 839d8a9d9c

View File

@@ -75,7 +75,7 @@ int CSubChannelSelectMenu::getNVODMenu(CMenuWidget* menu)
if ( !g_RemoteControl->are_subchannels ) if ( !g_RemoteControl->are_subchannels )
{ {
char nvod_time_a[50], nvod_time_e[50], nvod_time_x[50]; char nvod_time_a[50], nvod_time_e[50], nvod_time_x[50];
char nvod_s[100]; char nvod_s[152];
struct tm *tmZeit; struct tm *tmZeit;
tmZeit= localtime(&e->startzeit); tmZeit= localtime(&e->startzeit);