We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6516db commit 03070c9Copy full SHA for 03070c9
ruby/ql/lib/codeql/ruby/frameworks/Rails.qll
@@ -365,7 +365,8 @@ private class AccessLocalsKeySummary extends SummarizedCallable {
365
366
override MethodCall getACall() {
367
result.getLocation().getFile() = glob.getErbFile() and
368
- result.getMethodName() = methodName
+ result.getMethodName() = methodName and
369
+ result.getReceiver() instanceof SelfVariableReadAccess
370
}
371
372
override predicate propagatesFlowExt(string input, string output, boolean preservesValue) {
0 commit comments