Skip to content

Commit 75586b0

Browse files
Apply suggestions from code review
Co-authored-by: Nick Rolfe <[email protected]>
1 parent af55f17 commit 75586b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ private import codeql.ruby.Concepts
44
private import codeql.ruby.DataFlow
55
private import codeql.ruby.dataflow.FlowSummary
66

7-
/** A call to `ActiveStorage::Filename#sanitized` as path sanitizers. */
7+
/** A call to `ActiveStorage::Filename#sanitized`, considered as a path sanitizer. */
88
class ActiveStorageFilenameSanitizedCall extends Path::PathSanitization::Range, DataFlow::CallNode {
99
ActiveStorageFilenameSanitizedCall() {
1010
this.getReceiver() =

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class ObjectInstanceMethodCall extends UnknownMethodCall {
9999
}
100100

101101
/**
102-
* A Method call which has no known target.
102+
* A `Method` call that has no known target.
103103
* These will typically be calls to methods inherited from a superclass.
104104
*/
105105
class UnknownMethodCall extends MethodCall {

ruby/ql/src/queries/security/cwe-078/KernelOpen.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import codeql.ruby.dataflow.RemoteFlowSources
2323
import DataFlow::PathGraph
2424

2525
/**
26-
* A method call that have a suggested replacement.
26+
* A method call that has a suggested replacement.
2727
*/
2828
abstract class Replacement extends DataFlow::CallNode {
2929
abstract string getFrom();

0 commit comments

Comments
 (0)