File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
java/ql/lib/semmle/code/java/dataflow Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -143,11 +143,10 @@ private class GuiceRequestParameterSource extends RemoteFlowSource {
143
143
override string getSourceType ( ) { result = "Guice request parameter" }
144
144
}
145
145
146
- private class Struts2ActionSupportClassFieldReadSource extends RemoteFlowSource {
147
- Struts2ActionSupportClassFieldReadSource ( ) {
148
- exists ( Struts2ActionSupportClass c |
149
- c .getASetterMethod ( ) .getField ( ) = this .asExpr ( ) .( FieldRead ) .getField ( )
150
- )
146
+ private class Struts2ActionSupportClassFieldSource extends RemoteFlowSource {
147
+ Struts2ActionSupportClassFieldSource ( ) {
148
+ this .( DataFlow:: FieldValueNode ) .getField ( ) =
149
+ any ( Struts2ActionSupportClass c ) .getASetterMethod ( ) .getField ( )
151
150
}
152
151
153
152
override string getSourceType ( ) { result = "Struts2 ActionSupport field" }
You can’t perform that action at this time.
0 commit comments