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 8bb3be2 commit 7cbbd6cCopy full SHA for 7cbbd6c
csharp/ql/src/Security Features/CWE-502/UnsafeDeserialization.ql
@@ -21,7 +21,7 @@ where
21
SafeConstructorTrackingConfig constructorTracking
22
|
23
constructorTracking.hasFlowPath(constructor, usage) and
24
- usage.getNode().asExpr().getParent() = sink.asExpr().getParent()
+ usage.getNode().asExpr().getParent() = deserializeCall
25
)
26
or
27
exists(ConstructorOrStaticMethodSink sink2 | deserializeCall.getAnArgument() = sink2.asExpr())
0 commit comments