зеркало из https://github.com/mono/ikvm-fork.git
Bug fix. Off-by-one error in local ref index reusing. Fix for bug #3575555.
This commit is contained in:
Родитель
6cdec9a5b4
Коммит
66df8668e3
|
@ -1395,7 +1395,7 @@ namespace IKVM.Runtime
|
||||||
{
|
{
|
||||||
if (active[i] == null)
|
if (active[i] == null)
|
||||||
{
|
{
|
||||||
while (localRefIndex > i && active[localRefIndex - 1] == null)
|
while (localRefIndex - 1 > i && active[localRefIndex - 1] == null)
|
||||||
{
|
{
|
||||||
localRefIndex--;
|
localRefIndex--;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче