mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
tuxtxt.cpp:fix error array-bound
Origin commit data
------------------
Commit: fd84ed4100
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-19 (Thu, 19 Mar 2015)
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