Skip to content

Ruby: Block flow into flow sources #15483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

hmac
Copy link
Contributor

@hmac hmac commented Jan 31, 2024

This restricts alert paths to the minimum necessary.

@github-actions github-actions bot added the Ruby label Jan 31, 2024
@hmac hmac force-pushed the barrier-in-source branch from 3ce3fbf to c6738cc Compare January 31, 2024 10:31
This restricts alert paths to the minimum necessary.
@hmac hmac force-pushed the barrier-in-source branch from 618cad7 to ca9faae Compare February 13, 2024 13:57
@@ -34,6 +34,8 @@

override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }

predicate isBarrierIn(DataFlow::Node node) { this.isSource(node) }

Check warning

Code scanning / CodeQL

Missing override annotation

Configuration.isBarrierIn overrides [Configuration.isBarrierIn](1) but does not have an override annotation.
@@ -40,4 +40,6 @@
super.isSanitizer(node) or
node instanceof Sanitizer
}

predicate isBarrierIn(DataFlow::Node node) { this.isSource(node) }

Check warning

Code scanning / CodeQL

Missing override annotation

Configuration.isBarrierIn overrides [Configuration.isBarrierIn](1) but does not have an override annotation.
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.

1 participant