File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
csharp/ql/src/semmle/code/csharp/security/dataflow Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,8 @@ module UnsafeDeserialization {
63
63
override predicate isSource ( DataFlow:: Node source ) { source instanceof Source }
64
64
65
65
override predicate isSink ( DataFlow:: Node sink ) {
66
- exists ( MethodCall mc , Method m |
67
- m = mc .getTarget ( ) and
68
- m instanceof UnsafeDeserializerCallable and
66
+ exists ( MethodCall mc |
67
+ mc .getTarget ( ) instanceof UnsafeDeserializerCallable and
69
68
sink .asExpr ( ) = mc .getQualifier ( )
70
69
)
71
70
}
@@ -102,9 +101,8 @@ module UnsafeDeserialization {
102
101
}
103
102
104
103
override predicate isSink ( DataFlow:: Node sink ) {
105
- exists ( MethodCall mc , Method m |
106
- m = mc .getTarget ( ) and
107
- m instanceof UnsafeDeserializerCallable and
104
+ exists ( MethodCall mc |
105
+ mc .getTarget ( ) instanceof UnsafeDeserializerCallable and
108
106
sink .asExpr ( ) = mc .getQualifier ( )
109
107
)
110
108
}
You can’t perform that action at this time.
0 commit comments