Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3dfc236

Browse files
committed
Java: Remove already modelled RemoteTaintedMethods
1 parent aeb1314 commit 3dfc236

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

java/ql/src/semmle/code/java/dataflow/FlowSources.qll

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,6 @@ class DatabaseInput extends LocalUserInput {
260260

261261
private class RemoteTaintedMethod extends Method {
262262
RemoteTaintedMethod() {
263-
this instanceof ServletRequestGetParameterMethod or
264-
this instanceof ServletRequestGetParameterMapMethod or
265-
this instanceof ServletRequestGetParameterNamesMethod or
266-
this instanceof HttpServletRequestGetQueryStringMethod or
267263
this instanceof HttpServletRequestGetHeaderMethod or
268264
this instanceof HttpServletRequestGetPathMethod or
269265
this instanceof HttpServletRequestGetHeadersMethod or
@@ -278,8 +274,6 @@ private class RemoteTaintedMethod extends Method {
278274
this instanceof CookieGetValueMethod or
279275
this instanceof CookieGetNameMethod or
280276
this instanceof CookieGetCommentMethod or
281-
this instanceof URLConnectionGetInputStreamMethod or
282-
this instanceof SocketGetInputStreamMethod or
283277
this instanceof ApacheHttpGetParams or
284278
this instanceof ApacheHttpEntityGetContent or
285279
// In the setting of Android we assume that XML has been transmitted over

0 commit comments

Comments
 (0)