File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/aspnetcore Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -172,11 +172,16 @@ private module JumpNodes {
172
172
173
173
private class ComponentParameterJump extends DataFlow:: NonLocalJumpNode {
174
174
ParameterPassingCall call ;
175
+ Property prop ;
175
176
176
- ComponentParameterJump ( ) { this .asExpr ( ) = call .getParameterValue ( ) }
177
+ ComponentParameterJump ( ) {
178
+ prop = call .getParameterProperty ( ) and
179
+ // this.(DataFlowPrivate::PostUpdateNode).getPreUpdateNode().asExpr() = call.getParameterValue()
180
+ this .asExpr ( ) = call .getParameterValue ( )
181
+ }
177
182
178
183
override DataFlow:: Node getAJumpSuccessor ( boolean preservesValue ) {
179
- preservesValue = false and
184
+ preservesValue = true and
180
185
result .asExpr ( ) = call .getParameterProperty ( ) .getAnAccess ( )
181
186
}
182
187
}
You can’t perform that action at this time.
0 commit comments