diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-18 12:27:12 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-19 09:42:41 -0500 |
commit | 2ca27ab3a14c106a7153dda337a61c79db7a6de0 (patch) | |
tree | 21665423b92180e713257dd372808041b0784e8d /test/pacman/tests/sync200.py.in | |
parent | 1723e6dc4f8eff8aaa1e0f7560800c76e85f3009 (diff) |
makepkg: quote re-evaluation of simple vars
This is a safety measure to prevent simple code injection.
$ i="foo bar"
$ eval i="$i"
bash: bar: command not found
$ eval i=\"$i\"
$ echo "|$i|"
|foo bar|
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/sync200.py.in')
0 files changed, 0 insertions, 0 deletions