mirror of
https://github.com/revanced/smali.git
synced 2025-05-08 10:24:31 +02:00
Fix an issue when writing uleb128 values larger than 2^31
This commit is contained in:
parent
b84345935a
commit
20a272dbb9
@ -127,7 +127,7 @@ public class DexDataWriter extends BufferedOutputStream {
|
||||
}
|
||||
|
||||
public static void writeUleb128(OutputStream out, int value) throws IOException {
|
||||
while (value > 0x7f) {
|
||||
while ((value & 0xffffffffL) > 0x7f) {
|
||||
out.write((value & 0x7f) | 0x80);
|
||||
value >>>= 7;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user