Skip to content

Commit

Permalink
Malicious Code Scanner Fix
Browse files Browse the repository at this point in the history
On the latest release the code scanner isn't functioning, this should allow it to work as normal again
  • Loading branch information
Konloch committed Jul 5, 2022
1 parent cc50e68 commit 55eaafd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ public InstructionPrinter(MethodNode m, InstructionPattern pattern, TypeAndName[
}

private void precalculateLabelIndexes(MethodNode m) {
if(m == null)
return;

int lIdx = 0;
for (AbstractInsnNode ain : m.instructions) {
if (ain.getType() == AbstractInsnNode.LABEL) {
Expand Down

0 comments on commit 55eaafd

Please sign in to comment.