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

Skip to content

Commit 06fdd64

Browse files
committed
Java: Remove already modelled BeanValidationSource
1 parent 3dfc236 commit 06fdd64

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -196,22 +196,6 @@ private class WebSocketMessageParameterSource extends RemoteFlowSource {
196196
override string getSourceType() { result = "Websocket onText parameter" }
197197
}
198198

199-
private class BeanValidationSource extends RemoteFlowSource {
200-
BeanValidationSource() {
201-
exists(Method m, Parameter v |
202-
this.asParameter() = v and
203-
m.getParameter(0) = v and
204-
m.getDeclaringType()
205-
.getASourceSupertype+()
206-
.hasQualifiedName("javax.validation", "ConstraintValidator") and
207-
m.hasName("isValid") and
208-
m.fromSource()
209-
)
210-
}
211-
212-
override string getSourceType() { result = "BeanValidation source" }
213-
}
214-
215199
/** Class for `tainted` user input. */
216200
abstract class UserInput extends DataFlow::Node { }
217201

0 commit comments

Comments
 (0)