Skip to content

Commit 1f37e70

Browse files
Fix typos
Co-authored-by: Tony Torralba <[email protected]>
1 parent 51006aa commit 1f37e70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/security/TaintedEnvironmentVariableQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module ExecTaintedEnvironmentConfig implements DataFlow::ConfigSig {
2727
predicate isSink(DataFlow::Node sink) {
2828
sinkNode(sink, "environment-injection")
2929
or
30-
// sink is an added to a `ProcessBuilder::environment` map.
30+
// sink is a key or value added to a `ProcessBuilder::environment` map.
3131
exists(MapMutation mm | mm.getAnArgument() = sink.asExpr() |
3232
ProcessBuilderEnvironmentFlow::flowToExpr(mm.getQualifier())
3333
)

java/ql/src/Security/CWE/CWE-078/ExecTaintedEnvironment.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @precision medium
88
* @id java/exec-tainted-environment
99
* @tags security
10-
* external/cwe/cwe-078
10+
* external/cwe/cwe-078
1111
* external/cwe/cwe-088
1212
*/
1313

0 commit comments

Comments
 (0)