Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ruby/ql/lib/codeql/ruby/security/SqlInjectionQuery.qll
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Configuration extends TaintTracking::Configuration {

override predicate isSource(DataFlow::Node source) { source instanceof Source }

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

override predicate isSanitizer(DataFlow::Node node) { node instanceof Sanitizer }
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Configuration extends TaintTracking::Configuration {

override predicate isSource(DataFlow::Node source) { source instanceof Source }

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

override predicate isSanitizer(DataFlow::Node node) { node instanceof Sanitizer }
}