Skip to content

Commit 92c00cb

Browse files
haby0smowton
andauthored
Update java/ql/src/Security/CWE/CWE-652/XQueryInjection.ql
Co-authored-by: Chris Smowton <[email protected]>
1 parent f1e44bc commit 92c00cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Security/CWE/CWE-652/XQueryInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class XQueryInjectionConfig extends TaintTracking::Configuration {
3030
}
3131

3232
/**
33-
* Conveys taint from the input to a `prepareExpression` call to the returned prepared expression.
33+
* Holds if taint from the input `pred` to a `prepareExpression` call flows to the returned prepared expression `succ`.
3434
*/
3535
override predicate isAdditionalTaintStep(DataFlow::Node pred, DataFlow::Node succ) {
3636
exists(XQueryParserCall parser | pred.asExpr() = parser.getInput() and succ.asExpr() = parser)

0 commit comments

Comments
 (0)