Skip to content

Commit

Permalink
fix: correct parsing for array-data-payload
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Jul 30, 2020
1 parent 867c341 commit bcd6e53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public void decode(DexInsnData insn, int opcodeUnit, SectionReader in) {
public void skip(DexInsnData insn, SectionReader in) {
int elemSize = in.readUShort();
int size = in.readInt();
if (size == 1) {
if (elemSize == 1) {
in.skip(size + size % 2);
} else {
in.skip(size * elemSize);
Expand Down

0 comments on commit bcd6e53

Please sign in to comment.