File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
java/ql/src/semmle/code/java/dataflow Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,9 @@ private predicate sourceModelCsv(string row) {
170
170
// SpringRestTemplateResponseEntityMethod
171
171
"org.springframework.web.client;RestTemplate;false;exchange;;;ReturnValue;remote" ,
172
172
"org.springframework.web.client;RestTemplate;false;getForEntity;;;ReturnValue;remote" ,
173
- "org.springframework.web.client;RestTemplate;false;postForEntity;;;ReturnValue;remote"
173
+ "org.springframework.web.client;RestTemplate;false;postForEntity;;;ReturnValue;remote" ,
174
+ // WebSocketMessageParameterSource
175
+ "java.net.http;WebSocket$Listener;true;onText;(WebSocket,CharSequence,boolean);;Parameter[1];remote"
174
176
]
175
177
}
176
178
Original file line number Diff line number Diff line change @@ -158,14 +158,6 @@ private class ThriftIfaceParameterSource extends RemoteFlowSource {
158
158
override string getSourceType ( ) { result = "Thrift Iface parameter" }
159
159
}
160
160
161
- private class WebSocketMessageParameterSource extends RemoteFlowSource {
162
- WebSocketMessageParameterSource ( ) {
163
- exists ( WebsocketOnText t | t .getParameter ( 1 ) = this .asParameter ( ) )
164
- }
165
-
166
- override string getSourceType ( ) { result = "Websocket onText parameter" }
167
- }
168
-
169
161
/** Class for `tainted` user input. */
170
162
abstract class UserInput extends DataFlow:: Node { }
171
163
You can’t perform that action at this time.
0 commit comments