File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1191,8 +1191,7 @@ private module ParameterNodes {
1191
1191
/** Holds if a read-step should be added into parameter `p`. */
1192
1192
predicate readInto ( ParameterNode p , ContentSet c ) {
1193
1193
exists ( int n |
1194
- isParameterNode ( p , callable , any ( ParameterPosition pos | pos .isPositional ( n ) ) ) and
1195
- not exists ( int i | splatParameterAt ( callable .asCfgScope ( ) , i ) and i < n )
1194
+ isParameterNode ( p , callable , any ( ParameterPosition pos | pos .isPositional ( n ) ) )
1196
1195
|
1197
1196
c = getArrayContent ( n )
1198
1197
or
@@ -1465,7 +1464,6 @@ module ArgumentNodes {
1465
1464
exists ( int n , ArgumentPosition pos |
1466
1465
arg .isArgumentOf ( call , pos ) and
1467
1466
pos .isPositional ( n ) and
1468
- not exists ( int i | splatArgumentAt ( call , i ) and i < n ) and
1469
1467
c = getArrayContent ( n )
1470
1468
)
1471
1469
}
You can’t perform that action at this time.
0 commit comments