Skip to content

Commit c35962a

Browse files
Fix missing state reset in CipherBlockChainingCheck
1 parent 73b89dd commit c35962a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java-checks/src/main/java/org/sonar/java/checks/security/CipherBlockChainingCheck.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public void visitNode(Tree tree) {
100100
public void leaveNode(Tree tree) {
101101
if (tree == outermostClass) {
102102
ivFactoryFinder.clear();
103+
outermostClass = null;
103104
}
104105
super.leaveNode(tree);
105106
}

0 commit comments

Comments
 (0)