Skip to content

Commit e16ad5c

Browse files
committed
Ruby: Slightly improve class name
1 parent 71a2477 commit e16ad5c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActionController.qll

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,12 +410,11 @@ private module ParamsSummaries {
410410
}
411411

412412
/**
413-
* Methods on `ActionController::Parameters` which propagate taint from
414-
* receiver to return value.
413+
* A flow summary for methods on `ActionController::Parameters` which
414+
* propagate taint from receiver to return value.
415415
*/
416-
private class TaintReturnFromSelf extends SummarizedCallable {
417-
// TODO: better name?
418-
TaintReturnFromSelf() { this = "ActionController::Parameters#<various>" }
416+
private class MethodsReturningParamsInstanceSummary extends SummarizedCallable {
417+
MethodsReturningParamsInstanceSummary() { this = "ActionController::Parameters#<various>" }
419418

420419
override MethodCall getACall() {
421420
any(ParamsInstance i).asExpr().getExpr() = result.getReceiver() and

0 commit comments

Comments
 (0)