mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +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 */
|
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--;
|
maxhotlist--;
|
||||||
if (hotindex > maxhotlist)
|
if (hotindex > maxhotlist)
|
||||||
|
Reference in New Issue
Block a user