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 {
392
392
*/
393
393
private class ParamsInstance extends DataFlow:: Node {
394
394
ParamsInstance ( ) {
395
- this .asExpr ( ) .getExpr ( ) instanceof ParamsCall
395
+ this .asExpr ( ) .getExpr ( ) instanceof Rails :: ParamsCall
396
396
or
397
397
this =
398
398
any ( DataFlow:: CallNode call |
Original file line number Diff line number Diff line change 5
5
import ruby
6
6
import TestUtilities.InlineFlowTest
7
7
import PathGraph
8
- import codeql.ruby.frameworks.ActionController
8
+ import codeql.ruby.frameworks.Rails
9
9
10
10
class 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
+ }
12
14
}
13
15
14
16
from DataFlow:: PathNode source , DataFlow:: PathNode sink , ParamsTaintFlowConf conf
You can’t perform that action at this time.
0 commit comments