Skip to content

Comments

C#: Use DataFlow3 instead of DataFlow2 in Xml.qll to avoid overlap#4079

Merged
hvitved merged 1 commit intogithub:mainfrom
hvitved:csharp/xml-data-flow-config
Aug 17, 2020
Merged

C#: Use DataFlow3 instead of DataFlow2 in Xml.qll to avoid overlap#4079
hvitved merged 1 commit intogithub:mainfrom
hvitved:csharp/xml-data-flow-config

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Aug 14, 2020

semmle.code.csharp.frameworks.system.Xml is imported in LibraryTypeDataFlow.qll,
and therefore part of the default namespace. This means that the use of DataFlow2
inside Xml.qll overlaps with some queries. Bumping to DataFlow3 resolves the issue.

CSharp-Differences job: https://jenkins.internal.semmle.com/job/Changes/job/CSharp-Differences/351/.

`semmle.code.csharp.frameworks.system.Xml` is imported in `LibraryTypeDataFlow.qll`,
and therefore part of the default namespace. This means that the use of `DataFlow2`
inside `Xml.qll` overlaps with some queries. Bumping to `DataFlow3` resolves the issue.
@hvitved hvitved added the C# label Aug 14, 2020
@hvitved hvitved requested a review from a team as a code owner August 14, 2020 12:38
@adityasharad adityasharad changed the base branch from master to main August 14, 2020 18:33
@hvitved hvitved merged commit 8876dd5 into github:main Aug 17, 2020
@hvitved hvitved deleted the csharp/xml-data-flow-config branch August 17, 2020 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants