Skip to content

Commit 8876dd5

Browse files
authored
Merge pull request #4079 from hvitved/csharp/xml-data-flow-config
C#: Use `DataFlow3` instead of `DataFlow2` in `Xml.qll` to avoid overlap
2 parents 28a7656 + 357109a commit 8876dd5

File tree

1 file changed

+2
-2
lines changed
  • csharp/ql/src/semmle/code/csharp/frameworks/system

1 file changed

+2
-2
lines changed

csharp/ql/src/semmle/code/csharp/frameworks/system/Xml.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import csharp
44
private import semmle.code.csharp.frameworks.System
5-
private import semmle.code.csharp.dataflow.DataFlow2
5+
private import semmle.code.csharp.dataflow.DataFlow3
66

77
/** The `System.Xml` namespace. */
88
class SystemXmlNamespace extends Namespace {
@@ -163,7 +163,7 @@ class XmlReaderSettingsCreation extends ObjectCreation {
163163
}
164164
}
165165

166-
private class SettingsDataFlowConfig extends DataFlow2::Configuration {
166+
private class SettingsDataFlowConfig extends DataFlow3::Configuration {
167167
SettingsDataFlowConfig() { this = "SettingsDataFlowConfig" }
168168

169169
override predicate isSource(DataFlow::Node source) {

0 commit comments

Comments
 (0)