Commit 570b5e8
Fix CVE-2015-7541
Avoid passsing possible user input directly into the shell. Instead
quote the `image_path` value before calling the `convert` command.
See here http://rubysec.com/advisories/CVE-2015-7541/ for more
information.1 parent d589ce0 commit 570b5e8
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | | - | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments