subchannel_select: ensure buffer does not overflow

This commit is contained in:
Stefan Seyfried
2017-09-23 23:43:59 +02:00
committed by Jacek Jendrzej
parent 96006a04f6
commit 8a243ea12e

View File

@@ -108,6 +108,8 @@ int CSubChannelSelectMenu::getNVODMenu(CMenuWidget* menu)
} }
count++; count++;
if (count > 9999)
break;
} }
if ( g_RemoteControl->are_subchannels ) { if ( g_RemoteControl->are_subchannels ) {