Malicious Code Scanner Fix
On the latest release the code scanner isn't functioning, this should allow it to work as normal again
This commit is contained in:
parent
cc50e68c40
commit
55eaafd2d1
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ public class InstructionPrinter implements Opcodes {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void precalculateLabelIndexes(MethodNode m) {
|
private void precalculateLabelIndexes(MethodNode m) {
|
||||||
|
if(m == null)
|
||||||
|
return;
|
||||||
|
|
||||||
int lIdx = 0;
|
int lIdx = 0;
|
||||||
for (AbstractInsnNode ain : m.instructions) {
|
for (AbstractInsnNode ain : m.instructions) {
|
||||||
if (ain.getType() == AbstractInsnNode.LABEL) {
|
if (ain.getType() == AbstractInsnNode.LABEL) {
|
||||||
|
|
Loading…
Reference in a new issue