mirror of
https://github.com/revanced/smali.git
synced 2025-04-29 22:24:26 +02:00
Fix an infinite loop in findMethodByMethodIdInternal
This commit is contained in:
parent
2337fcb31b
commit
049bba5d98
@ -388,8 +388,14 @@ public class ClassDataItem extends Item<ClassDataItem> {
|
|||||||
if (encodedMethodIndex == methodIdItemIndex) {
|
if (encodedMethodIndex == methodIdItemIndex) {
|
||||||
return encodedMethod;
|
return encodedMethod;
|
||||||
} else if (encodedMethodIndex < methodIdItemIndex) {
|
} else if (encodedMethodIndex < methodIdItemIndex) {
|
||||||
|
if (min == index) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
min = index;
|
min = index;
|
||||||
} else {
|
} else {
|
||||||
|
if (max == index) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
max = index;
|
max = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user