From 9cd7acf2b71f46eb1c8fd1d315f4d4c0f312d1a6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 15 Aug 2009 00:59:22 +0000 Subject: remove more shell_escape_commands git-svn-id: svn://tug.org/texlive/trunk@14685 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/web2c/texmf.cnf | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'Master') diff --git a/Master/texmf/web2c/texmf.cnf b/Master/texmf/web2c/texmf.cnf index abaac2a7d47..d48d2b81ae2 100644 --- a/Master/texmf/web2c/texmf.cnf +++ b/Master/texmf/web2c/texmf.cnf @@ -498,11 +498,21 @@ shell_escape = p % No spaces in this command list. shell_escape_commands = \ -bibtex,bibtex8,dvips,epstopdf,epspdf,etex,fc-match,\ -imgconvert,\ -kpsewhich,makeindex,mkgrkindex,\ -pdfluatex,ps2pdf,ps4pdf,pstopdf,pygmentize,\ -rpdfcrop,texindy,xindy,ulqda\ +bibtex,bibtex8,epstopdf,epspdf,fc-match,\ +kpsewhich,makeindex,\ +ps2pdf,pstopdf,pygmentize,\ +rpdfcrop,\ + +% we'd like to allow: +% dvips - but external commands can be executed, need at least -R1. +% (img)convert (ImageMagick) - delegates.mgk possible misconfig, besides, +% without Unix convert it hardly seems worth it, and Windows convert +% is something completely different that destroys filesystems, so +% skip it. +% pygmentize - but is the filter feature insecure? +% ps4pdf - but it calls an unrestricted latex. +% texindy,xindy - but is the module feature insecure? +% ulqda - but requires optional SHA1.pm, so why bother. % plain TeX should remain unenhanced. shell_escape.tex = f -- cgit v1.2.3