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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting
  • Loading branch information
atorralba committed Nov 24, 2022
commit 17218fa663373a2d327309204e765d2e10cd1f0a
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down