mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Update java/ql/src/Security/CWE/CWE-652/XQueryInjectionLib.qll
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
@@ -14,8 +14,8 @@ class XQueryParserCall extends MethodAccess {
|
||||
m.hasName("prepareExpression")
|
||||
)
|
||||
}
|
||||
// return the first parameter of the `bindString` method and use it as a sink
|
||||
Expr getSink() { result = this.getArgument(0) }
|
||||
/** Returns the first parameter of the `bindString` method. */
|
||||
Expr getInput() { result = this.getArgument(0) }
|
||||
}
|
||||
|
||||
/** A call to `XQDynamicContext.bindString`. */
|
||||
|
||||
Reference in New Issue
Block a user