We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16bb19e commit 2eff6b3Copy full SHA for 2eff6b3
1 file changed
java/ql/src/Security/CWE/CWE-078/ExecTaintedEnvironmentChecked.java
@@ -1,6 +1,7 @@
1
Map<String, String> env = builder.environment();
2
String debug = request.getParameter("debug");
3
4
+// GOOD: Checking the value and not tainting the variable added to the environment
5
if (debug != null) {
6
env.put("PYTHONDEBUG", "1");
7
}
0 commit comments