summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2012-10-10 12:48:01 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2012-10-10 12:48:01 +0000
commit353aefe54f55a8911b1fc035b87d87e2ab650f61 (patch)
tree32af5434841e7281dcddc9b86ed57dbbff9f84f4 /Build
parentb9de15c8907c5469eb05aca7bbb5bde293950de3 (diff)
check the length of command string
git-svn-id: svn://tug.org/texlive/trunk@27939 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c
index 4b643e61c05..2551c152a68 100644
--- a/Build/source/texk/web2c/luatexdir/luatex.c
+++ b/Build/source/texk/web2c/luatexdir/luatex.c
@@ -357,7 +357,7 @@ int shell_cmd_is_allowed(const char *cmd, char **safecmd, char **cmdname)
q = xmalloc (strlen (p) + 2);
q[0] = p[0];
q[1] = p[1];
- q[2] = '\\';
+ q[2] = '/';
q[3] = '\0';
strcat (q, (p + 2));
free (*safecmd);