Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bab9d2 commit a274a15Copy full SHA for a274a15
1 file changed
java/ql/src/Security/CWE/CWE-094/InsecureBeanValidation.ql
@@ -14,23 +14,6 @@ import semmle.code.java.dataflow.TaintTracking
14
import semmle.code.java.dataflow.FlowSources
15
import DataFlow::PathGraph
16
17
-class BeanValidationSource extends RemoteFlowSource {
18
- BeanValidationSource() {
19
- exists(Method m, Parameter v |
20
- this.asParameter() = v and
21
- m.getParameter(0) = v and
22
- m
23
- .getDeclaringType()
24
- .getASourceSupertype+()
25
- .hasQualifiedName("javax.validation", "ConstraintValidator") and
26
- m.hasName("isValid") and
27
- m.fromSource()
28
- )
29
- }
30
-
31
- override string getSourceType() { result = "BeanValidation source" }
32
-}
33
34
class BuildConstraintViolationWithTemplateMethod extends Method {
35
BuildConstraintViolationWithTemplateMethod() {
36
this.getDeclaringType()
0 commit comments