mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
tuxtxt.cpp:fix error array-bound
This commit is contained in:
@@ -3213,7 +3213,8 @@ void ConfigMenu(int Init)
|
||||
|
||||
for (i1=hotindex; i1<maxhotlist; i1++) /* move rest of list */
|
||||
{
|
||||
hotlist[i1] = hotlist[i1+1];
|
||||
if(i1+1<maxhotlist)
|
||||
hotlist[i1] = hotlist[i1+1];
|
||||
}
|
||||
maxhotlist--;
|
||||
if (hotindex > maxhotlist)
|
||||
|
Reference in New Issue
Block a user