Skip to content

Commit 16308fe

Browse files
haby0smowton
andauthored
Update java/ql/src/Security/CWE/CWE-652/XQueryInjectionLib.qll
Co-authored-by: Chris Smowton <smowton@github.com>
1 parent 14a23ee commit 16308fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/Security/CWE/CWE-652/XQueryInjectionLib.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class XQueryBindStringCall extends MethodAccess {
2929
m.hasName("bindString")
3030
)
3131
}
32-
// return the second parameter of the `bindString` method and use it as a sink
33-
Expr getSink() { result = this.getArgument(1) }
32+
/** Returns the second parameter of the `bindString` method. */
33+
Expr getInput() { result = this.getArgument(1) }
3434
}
3535

3636
/** Used to determine whether to call the `prepareExpression` method, and the first parameter value can be remotely controlled. */

0 commit comments

Comments
 (0)