Skip to content

Commit a436988

Browse files
authored
Update InsufficientControlFlowManagementWhenUsingBitOperations.ql
1 parent 9b3ccad commit a436988

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ class DangerousBitOperations extends BinaryBitwiseOperation {
6161
/** Holds when the bit expression contains both arguments and a function call. */
6262
predicate dangerousArgumentChecking() {
6363
not this.getLeftOperand() instanceof Call and
64-
globalValueNumber(this.getLeftOperand().getAChild*()) =
65-
globalValueNumber(bfc.getAnArgument())
64+
globalValueNumber(this.getLeftOperand().getAChild*()) = globalValueNumber(bfc.getAnArgument())
6665
}
6766

6867
/** Holds when function calls are present in the bit expression. */

0 commit comments

Comments
 (0)