We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec91c4 commit c74eac4Copy full SHA for c74eac4
java/ql/src/experimental/Security/CWE/CWE-400/ThreadResourceAbuse.qll
@@ -35,10 +35,10 @@ class PauseThreadSink extends DataFlow::Node {
35
/** A sanitizer for lessThan check. */
36
class LessThanSanitizer extends DataFlow::BarrierGuard instanceof ComparisonExpr {
37
override predicate checks(Expr e, boolean branch) {
38
- e = this.(ComparisonExpr).getLesserOperand() and
+ e = super.getLesserOperand() and
39
branch = true
40
or
41
- e = this.(ComparisonExpr).getGreaterOperand() and
+ e = super.getGreaterOperand() and
42
branch = false
43
}
44
0 commit comments