Skip to content

Conversation

asgerf
Copy link
Contributor

@asgerf asgerf commented Apr 20, 2021

No description provided.

@asgerf asgerf added JS no-change-note-required This PR does not need a change note labels Apr 20, 2021
@asgerf asgerf marked this pull request as ready for review April 23, 2021 10:07
@asgerf asgerf requested a review from a team as a code owner April 23, 2021 10:07
Comment on lines +14 to +15
from RemoteFlowSource node
where node = relevantTaintSource()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relevantTaintSource has return-type DataFlow::Node, so I think the node here should have that type.

Suggested change
from RemoteFlowSource node
where node = relevantTaintSource()
from DataFlow::Node node
where node = relevantTaintSource()

Or relevantTaintSource could be changed to have the return-type RemoteFlowSource.
DOM::locationSource() is a RemoteFlowSource anyway, so relevantTaintSource could be simplified in the same go.

@codeql-ci codeql-ci merged commit 922b276 into github:main May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants