We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 834f2e8 commit 50e95b5Copy full SHA for 50e95b5
java/ql/lib/semmle/code/java/frameworks/MyBatis.qll
@@ -134,8 +134,8 @@ private class MyBatisProviderStep extends TaintTracking::AdditionalValueStep {
134
override predicate step(DataFlow::Node n1, DataFlow::Node n2) {
135
exists(MethodAccess ma, Annotation a, Method providerMethod |
136
exists(int i |
137
- ma.getArgument(i) = n1.asExpr() and
138
- providerMethod.getParameter(i) = n2.asParameter()
+ ma.getArgument(pragma[only_bind_into](i)) = n1.asExpr() and
+ providerMethod.getParameter(pragma[only_bind_into](i)) = n2.asParameter()
139
)
140
|
141
a.getType() instanceof MyBatisProvider and
0 commit comments