mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
subchannel_select: fix possible format-truncation error
output between 5 and 152 bytes into a destination of size 100
Origin commit data
------------------
Commit: e02f5c0b41
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-06 (Mon, 06 Jan 2020)
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