Bug fix. Off-by-one error in local ref index reusing. Fix for bug #3575555.

This commit is contained in:
jfrijters 2012-10-09 07:38:48 +00:00
Родитель 6cdec9a5b4
Коммит 66df8668e3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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--;
} }