Updated SC2156 (markdown)

koalaman
2015-06-12 18:01:14 -07:00
parent b58da32b05
commit 40dfef8567

@@ -12,7 +12,7 @@
In the problematic example, the filename is passed by injecting it into a shell string. Any shell metacharacters in the filename will be interpreted as part of the script, and not as part of the filename. This can break the script and allow arbitrary code execution exploits.
In the correct example, the filename is passed as a parameter. It will be safely treated as literal text.
In the correct example, the filename is passed as a parameter. It will be safely treated as literal text. The `_` is a dummy string that becomes `$0` in the script.
### Exceptions: