mirror of
https://github.com/revanced/smali.git
synced 2025-05-25 02:42:06 +02:00
Fix bug in Utf8Utils
This commit is contained in:
parent
343df2f456
commit
66b89545a4
@ -136,7 +136,7 @@ public final class Utf8Utils {
|
|||||||
return throwBadUtf8(v1, at + 1);
|
return throwBadUtf8(v1, at + 1);
|
||||||
}
|
}
|
||||||
int v2 = bytes[at + 2] & 0xFF;
|
int v2 = bytes[at + 2] & 0xFF;
|
||||||
if ((v1 & 0xc0) != 0x80) {
|
if ((v2 & 0xc0) != 0x80) {
|
||||||
return throwBadUtf8(v2, at + 2);
|
return throwBadUtf8(v2, at + 2);
|
||||||
}
|
}
|
||||||
int value = ((v0 & 0x0f) << 12) | ((v1 & 0x3f) << 6) |
|
int value = ((v0 & 0x0f) << 12) | ((v1 & 0x3f) << 6) |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user