Skip to content

Commit ee9b01b

Browse files
Apply suggestions from code review
Co-authored-by: Alex Ford <[email protected]>
1 parent 8715790 commit ee9b01b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ruby/ql/lib/codeql/ruby/security/UnsafeCodeConstructionCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ module UnsafeCodeConstruction {
9797
}
9898

9999
/**
100-
* A string constructed from a string-concatenation (e.g. `"foo " + sink`),
100+
* A component of a string-concatenation (e.g. `"foo " + sink`),
101101
* where the resulting string ends up being executed as a code.
102102
*/
103103
class StringConcatAsSink extends Sink {

ruby/ql/lib/codeql/ruby/security/UnsafeShellCommandConstructionCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module UnsafeShellCommandConstruction {
8282
}
8383

8484
/**
85-
* A string constructed from a string-concatenation (e.g. `"foo " + sink`),
85+
* A component of a string-concatenation (e.g. `"foo " + sink`),
8686
* where the resulting string ends up being executed as a shell command.
8787
*/
8888
class StringConcatAsSink extends Sink {

0 commit comments

Comments
 (0)