From: Jason A. Donenfeld Date: Sun, 28 Oct 2012 02:03:41 +0000 (-0600) Subject: syntax-highlighting.sh: Fix command injection. X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/7ea35f9f8ecf61ab42be9947aae1176ab6e089bd?hp=7ea35f9f8ecf61ab42be9947aae1176ab6e089bd syntax-highlighting.sh: Fix command injection. By not quoting the argument, an attacker with the ability to add files to the repository could pass arbitrary arguments to the highlight command, in particular, the --plug-in argument which can lead to arbitrary command execution. This patch adds simple argument quoting. ---