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 14a23ee commit 16308feCopy full SHA for 16308fe
java/ql/src/Security/CWE/CWE-652/XQueryInjectionLib.qll
@@ -29,8 +29,8 @@ class XQueryBindStringCall extends MethodAccess {
29
m.hasName("bindString")
30
)
31
}
32
- // return the second parameter of the `bindString` method and use it as a sink
33
- Expr getSink() { result = this.getArgument(1) }
+ /** Returns the second parameter of the `bindString` method. */
+ Expr getInput() { result = this.getArgument(1) }
34
35
36
/** Used to determine whether to call the `prepareExpression` method, and the first parameter value can be remotely controlled. */
0 commit comments