mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
apply suggestion from review
This commit is contained in:
@@ -53,4 +53,4 @@ where
|
||||
not e instanceof EqualityTest and
|
||||
e.getRightOperand().getIntValue() = 0 and
|
||||
not acceptableSignCheck(b)
|
||||
select e, "Potential unsafe sign check of a bitwise operation."
|
||||
select e, "Potentially unsafe sign check of a bitwise operation."
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
| tst.js:2:9:2:24 | (x & (1<<n)) > 0 | Potential unsafe sign check of a bitwise operation. |
|
||||
| tst.js:14:13:14:25 | (x >>> 0) > 0 | Potential unsafe sign check of a bitwise operation. |
|
||||
| tst.js:23:1:23:21 | (x & 0x ... 00) > 0 | Potential unsafe sign check of a bitwise operation. |
|
||||
| tst.js:2:9:2:24 | (x & (1<<n)) > 0 | Potentially unsafe sign check of a bitwise operation. |
|
||||
| tst.js:14:13:14:25 | (x >>> 0) > 0 | Potentially unsafe sign check of a bitwise operation. |
|
||||
| tst.js:23:1:23:21 | (x & 0x ... 00) > 0 | Potentially unsafe sign check of a bitwise operation. |
|
||||
|
||||
Reference in New Issue
Block a user