Skip to content

Commit c01a494

Browse files
committed
C/C++: Don't force-include XxeFlowStateTransformer steps in XXE.ql.
1 parent ae24d68 commit c01a494

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ module XxeConfig implements DataFlow::StateConfigSig {
4343
// flowstate value.
4444
node.asIndirectExpr().(XxeFlowStateTransformer).transform(flowstate) != flowstate
4545
}
46+
47+
predicate neverSkip(DataFlow::Node node) { none() }
4648
}
4749

4850
module XxeFlow = DataFlow::GlobalWithState<XxeConfig>;

0 commit comments

Comments
 (0)