mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 12:17:37 +02:00
Fix an infinite loop in findMethodByMethodIdInternal
This commit is contained in:
@ -388,8 +388,14 @@ public class ClassDataItem extends Item<ClassDataItem> {
|
||||
if (encodedMethodIndex == methodIdItemIndex) {
|
||||
return encodedMethod;
|
||||
} else if (encodedMethodIndex < methodIdItemIndex) {
|
||||
if (min == index) {
|
||||
break;
|
||||
}
|
||||
min = index;
|
||||
} else {
|
||||
if (max == index) {
|
||||
break;
|
||||
}
|
||||
max = index;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user