We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b30c9bc commit 707f75fCopy full SHA for 707f75f
java/ql/src/Security/CWE/CWE-078/ExecUnescaped.java
@@ -4,7 +4,7 @@ public static void main(String[] args) {
4
{
5
String latlonCoords = args[1];
6
Runtime rt = Runtime.getRuntime();
7
- Process exec = rt.exec("cmd.exe /C latlon2utm.exe -" + latlonCoords);
+ Process exec = rt.exec("cmd.exe /C latlon2utm.exe " + latlonCoords);
8
}
9
10
// GOOD: use an array of arguments instead of executing a string
0 commit comments