summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-08-18 18:27:12 +0200
committerDan McGee <dan@archlinux.org>2011-08-19 16:42:41 +0200
commit2ca27ab3a14c106a7153dda337a61c79db7a6de0 (patch)
tree21665423b92180e713257dd372808041b0784e8d /test
parent1723e6dc4f8eff8aaa1e0f7560800c76e85f3009 (diff)
downloadpacman-2ca27ab3a14c106a7153dda337a61c79db7a6de0.tar.gz
pacman-2ca27ab3a14c106a7153dda337a61c79db7a6de0.tar.xz
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')
0 files changed, 0 insertions, 0 deletions