Increment the offset correctly when reading a sized long

This commit is contained in:
Ben Gruver 2012-10-31 19:28:12 -07:00
parent ebd6178008
commit 1ff61d42de

View File

@ -461,7 +461,7 @@ public class DexReader {
throw new ExceptionWithContext("Invalid size %d for sized long at offset 0x%x", bytes, offset);
}
o += bytes;
offset = o + bytes;
return result;
}
}