Skip to content

C++: Make XMLFile extend File again#92

Merged
semmle-qlci merged 1 commit into
github:masterfrom
jbj:XMLFile-is-File
Aug 23, 2018
Merged

C++: Make XMLFile extend File again#92
semmle-qlci merged 1 commit into
github:masterfrom
jbj:XMLFile-is-File

Conversation

@jbj
Copy link
Copy Markdown
Contributor

@jbj jbj commented Aug 23, 2018

Commit a1e4404 made XMLFile no longer extend File. I'm guessing this was necessary in the branch where File was an IPA-typed Element and XMLFile was not, but it broke compilation of some of our internal queries.

The proper fix may be to make XMLFile an Element or to change the code that doesn't compile, but for now I propose this quick fix.

Commit a1e4404 made `XMLFile` no longer extend `File`. I'm guessing
this was necessary in the branch where `File` was an IPA-typed `Element`
and `XMLFile` was not, but it broke compilation of some of our internal
queries.
@jbj jbj added the C++ label Aug 23, 2018
@jbj jbj requested a review from ian-semmle August 23, 2018 08:34
@semmle-qlci semmle-qlci merged commit 3b09ab9 into github:master Aug 23, 2018
smowton added a commit to smowton/codeql that referenced this pull request Dec 6, 2021
dbartol pushed a commit that referenced this pull request Dec 18, 2024
Improve path checks for Artifact and Cache poisoning queries
MathiasVP added a commit to MathiasVP/ql that referenced this pull request Aug 10, 2025
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.

3 participants