Skip to content

Commit b30ae39

Browse files
authored
Update InsufficientControlFlowManagementAfterRefactoringTheCode.ql
1 parent 58d5ad4 commit b30ae39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-691/InsufficientControlFlowManagementAfterRefactoringTheCode.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class UsingArithmeticInComparison extends BinaryArithmeticOperation {
5757
not this.getAChild*().isConstant() and
5858
not this.getParent*() instanceof Call and
5959
not this.getParent*() instanceof AssignExpr and
60+
not this.getParent*() instanceof ArrayExpr and
6061
not this.getParent*() instanceof RemExpr and
6162
not this.getParent*() instanceof AssignBitwiseOperation and
6263
not this.getParent*() instanceof AssignArithmeticOperation and

0 commit comments

Comments
 (0)