mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
Apply suggestions from code review
Co-authored-by: Alex Ford <alexrford@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8715790fe7
commit
ee9b01b5e6
@@ -97,7 +97,7 @@ module UnsafeCodeConstruction {
|
||||
}
|
||||
|
||||
/**
|
||||
* A string constructed from a string-concatenation (e.g. `"foo " + sink`),
|
||||
* A component of a string-concatenation (e.g. `"foo " + sink`),
|
||||
* where the resulting string ends up being executed as a code.
|
||||
*/
|
||||
class StringConcatAsSink extends Sink {
|
||||
|
||||
@@ -82,7 +82,7 @@ module UnsafeShellCommandConstruction {
|
||||
}
|
||||
|
||||
/**
|
||||
* A string constructed from a string-concatenation (e.g. `"foo " + sink`),
|
||||
* A component of a string-concatenation (e.g. `"foo " + sink`),
|
||||
* where the resulting string ends up being executed as a shell command.
|
||||
*/
|
||||
class StringConcatAsSink extends Sink {
|
||||
|
||||
Reference in New Issue
Block a user