Skip to content

Conversation

@jketema
Copy link
Contributor

@jketema jketema commented Jan 23, 2026

SQL sanitizers will not likely also be sources, so using isBarrierIn here does not make a lot of sense.

I ran with and without this change on MRVA and got identical results.

SQL sanitizers will not likely also be sources, so using `isBarrierIn` here
does not make a lot of sense.

I ran with and without this change on MRVA and got identical results.
@jketema jketema requested a review from a team as a code owner January 23, 2026 08:07
Copilot AI review requested due to automatic review settings January 23, 2026 08:07
@github-actions github-actions bot added the C++ label Jan 23, 2026
@jketema jketema added the no-change-note-required This PR does not need a change note label Jan 23, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the SQL injection detection query by consolidating barrier predicates. The change removes the isBarrierIn predicate and merges its logic into the isBarrier predicate, based on the reasoning that SQL sanitizer inputs are unlikely to be data flow sources.

Changes:

  • Merged isBarrierIn barrier logic into isBarrier predicate in the SQL injection taint tracking configuration
  • Changed the disjunction syntax from separate predicate to using or operator

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

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

Sure.

@jketema
Copy link
Contributor Author

jketema commented Jan 23, 2026

DCA looks clean. Merging.

@jketema jketema merged commit 075041f into github:main Jan 23, 2026
25 of 26 checks passed
@jketema jketema deleted the jketema/sql branch January 23, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ 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.

2 participants