Skip to content

Commit ed34c96

Browse files
authored
Update InsufficientControlFlowManagementWhenUsingBitOperations.ql
1 parent eb9b41a commit ed34c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DangerousBitOperations extends Expr {
2929
*/
3030
DangerousBitOperations() {
3131
bfc = this.(BinaryBitwiseOperation).getRightOperand() and
32-
not this.getParent*() instanceof AssignExpr and
32+
not this.getParent*() instanceof Assignment and
3333
not this.getParent*() instanceof Initializer and
3434
not this.getParent*() instanceof ReturnStmt and
3535
not this.getParent*() instanceof EqualityOperation and

0 commit comments

Comments
 (0)