Skip to content

Commit 2ac21d6

Browse files
committed
C++: Use isBarrier rather than isBarrierOut (which is going away).
1 parent 27b6b99 commit 2ac21d6

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/Security/CWE/CWE-611

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-611/XXE.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class XXEConfiguration extends DataFlow::Configuration {
189189
DataFlow::simpleLocalFlowStep(node1, node2)
190190
}
191191

192-
override predicate isBarrierOut(DataFlow::Node node, string flowstate) {
192+
override predicate isBarrier(DataFlow::Node node, string flowstate) {
193193
// when the flowstate is transformed at a call node, block the original
194194
// flowstate value.
195195
node.asConvertedExpr().(XXEFlowStateTranformer).transform(flowstate) != flowstate

0 commit comments

Comments
 (0)