mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
subchannel_select: fix possible format-truncation error
output between 5 and 152 bytes into a destination of size 100
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user