C++: Make the checks happy. · ayoubRT/codeql@b4a840e · GitHub
Skip to content

Commit b4a840e

Browse files
committed
C++: Make the checks happy.
1 parent 9976825 commit b4a840e

3 files changed

Lines changed: 25 additions & 25 deletions

File tree

‎cpp/ql/src/Security/CWE/CWE-611/XML.qll‎

Lines changed: 5 additions & 5 deletions

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ class XXEConfiguration extends DataFlow::Configuration {
3535
override predicate isAdditionalFlowStep(
3636
DataFlow::Node node1, string state1, DataFlow::Node node2, string state2
3737
) {
38-
// create additional flow steps for `XXEFlowStateTransformer`s
39-
state2 = node2.asConvertedExpr().(XXEFlowStateTransformer).transform(state1) and
38+
// create additional flow steps for `XxeFlowStateTransformer`s
39+
state2 = node2.asConvertedExpr().(XxeFlowStateTransformer).transform(state1) and
4040
DataFlow::simpleLocalFlowStep(node1, node2)
4141
}
4242

4343
override predicate isBarrier(DataFlow::Node node, string flowstate) {
4444
// when the flowstate is transformed at a call node, block the original
4545
// flowstate value.
46-
node.asConvertedExpr().(XXEFlowStateTransformer).transform(flowstate) != flowstate
46+
node.asConvertedExpr().(XxeFlowStateTransformer).transform(flowstate) != flowstate
4747
}
4848
}
4949

‎cpp/ql/src/Security/CWE/CWE-611/Xerces.qll‎

Lines changed: 17 additions & 17 deletions

0 commit comments

Comments
 (0)