Ruby: Slightly improve class name

This commit is contained in:
Harry Maclean
2022-09-27 13:35:17 +13:00
parent fa1ae26fab
commit 5c20039e09

View File

@@ -427,12 +427,11 @@ private module ParamsSummaries {
}
/**
* Methods on `ActionController::Parameters` which propagate taint from
* receiver to return value.
* A flow summary for methods on `ActionController::Parameters` which
* propagate taint from receiver to return value.
*/
private class TaintReturnFromSelf extends SummarizedCallable {
// TODO: better name?
TaintReturnFromSelf() { this = "ActionController::Parameters#<various>" }
private class MethodsReturningParamsInstanceSummary extends SummarizedCallable {
MethodsReturningParamsInstanceSummary() { this = "ActionController::Parameters#<various>" }
override MethodCall getACall() {
any(ParamsInstance i).asExpr().getExpr() = result.getReceiver() and