Skip to content

Commit 14a23ee

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

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
@@ -14,8 +14,8 @@ class XQueryParserCall extends MethodAccess {
1414
m.hasName("prepareExpression")
1515
)
1616
}
17-
// return the first parameter of the `bindString` method and use it as a sink
18-
Expr getSink() { result = this.getArgument(0) }
17+
/** Returns the first parameter of the `bindString` method. */
18+
Expr getInput() { result = this.getArgument(0) }
1919
}
2020

2121
/** A call to `XQDynamicContext.bindString`. */

0 commit comments

Comments
 (0)