Skip to content

Commit 17218fa

Browse files
committed
Formatting
1 parent 443d0f5 commit 17218fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/ql/src/experimental/Security/CWE/CWE-089/MyBatisCommonLib.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ predicate isMybatisXmlOrAnnotationSqlInjection(
135135
"%}") and
136136
annotation.getType() instanceof TypeParam and
137137
ma.getAnArgument() = node.asExpr() and
138-
annotation.getTarget() = ma.getMethod().getParameter(node.asExpr().(Argument).getParameterPos())
138+
annotation.getTarget() =
139+
ma.getMethod().getParameter(node.asExpr().(Argument).getParameterPos())
139140
)
140141
or
141142
// MyBatis default parameter sql injection vulnerabilities.the default parameter form of the method is arg[0...n] or param[1...n].

0 commit comments

Comments
 (0)