File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
csharp/ql/src/experimental/Security Features/JsonWebTokenHandler Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,7 @@ class FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation
32
32
}
33
33
34
34
override predicate isSink ( DataFlow:: Node sink ) {
35
- exists ( Assignment a |
36
- sink .asExpr ( ) =
37
- any ( TokenValidationParametersPropertySensitiveValidation p ) .getAnAssignedValue ( )
38
- )
35
+ sink .asExpr ( ) = any ( TokenValidationParametersPropertySensitiveValidation p ) .getAnAssignedValue ( )
39
36
}
40
37
}
41
38
@@ -245,7 +242,7 @@ class CallableAlwaysReturnsParameter0MayThrowExceptions extends CallableReturnsS
245
242
predicate isExpressionAlwaysTrue ( Expr e ) {
246
243
e .( BoolLiteral ) .getBoolValue ( ) = true
247
244
or
248
- e .( Expr ) . getValue ( ) = "true"
245
+ e .getValue ( ) = "true"
249
246
or
250
247
e instanceof ConditionalExpr and
251
248
isExpressionAlwaysTrue ( e .( ConditionalExpr ) .getThen ( ) ) and
You can’t perform that action at this time.
0 commit comments