File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
lib/codeql/ruby/frameworks
test/library-tests/frameworks/action_controller Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ private module ParamsSummaries {
392392 */
393393 private class ParamsInstance extends DataFlow:: Node {
394394 ParamsInstance ( ) {
395- this .asExpr ( ) .getExpr ( ) instanceof ParamsCall
395+ this .asExpr ( ) .getExpr ( ) instanceof Rails :: ParamsCall
396396 or
397397 this =
398398 any ( DataFlow:: CallNode call |
Original file line number Diff line number Diff line change 55import ruby
66import TestUtilities.InlineFlowTest
77import PathGraph
8- import codeql.ruby.frameworks.ActionController
8+ import codeql.ruby.frameworks.Rails
99
1010class ParamsTaintFlowConf extends DefaultTaintFlowConf {
11- override predicate isSource ( DataFlow:: Node n ) { n .asExpr ( ) .getExpr ( ) instanceof ParamsCall }
11+ override predicate isSource ( DataFlow:: Node n ) {
12+ n .asExpr ( ) .getExpr ( ) instanceof Rails:: ParamsCall
13+ }
1214}
1315
1416from DataFlow:: PathNode source , DataFlow:: PathNode sink , ParamsTaintFlowConf conf
You can’t perform that action at this time.
0 commit comments