Formatting

This commit is contained in:
Tony Torralba
2022-11-24 11:14:16 +01:00
parent 443d0f50c1
commit 17218fa663

View File

@@ -135,7 +135,8 @@ predicate isMybatisXmlOrAnnotationSqlInjection(
"%}") and
annotation.getType() instanceof TypeParam and
ma.getAnArgument() = node.asExpr() and
annotation.getTarget() = ma.getMethod().getParameter(node.asExpr().(Argument).getParameterPos())
annotation.getTarget() =
ma.getMethod().getParameter(node.asExpr().(Argument).getParameterPos())
)
or
// MyBatis default parameter sql injection vulnerabilities.the default parameter form of the method is arg[0...n] or param[1...n].