Skip to content

Commit 55eaafd

Browse files
committed
Malicious Code Scanner Fix
On the latest release the code scanner isn't functioning, this should allow it to work as normal again
1 parent cc50e68 commit 55eaafd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/decompilers/bytecode/InstructionPrinter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ public InstructionPrinter(MethodNode m, InstructionPattern pattern, TypeAndName[
7676
}
7777

7878
private void precalculateLabelIndexes(MethodNode m) {
79+
if(m == null)
80+
return;
81+
7982
int lIdx = 0;
8083
for (AbstractInsnNode ain : m.instructions) {
8184
if (ain.getType() == AbstractInsnNode.LABEL) {

0 commit comments

Comments
 (0)