diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-18 00:24:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-18 00:24:18 +0000 |
commit | 4c92f196259f0dcfbaf266bed88785dd7e21e954 (patch) | |
tree | 624d2f392c8b4f5979131bdd33d07925b2e1db04 /Build/source | |
parent | 5de813ce85e2ea79a1db7cdccd7ed2fe2dc5171e (diff) |
set DVIPDFMXINPUTS to not include .
git-svn-id: svn://tug.org/texlive/trunk@19789 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/texmf.cnf | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 2c56a6fe1af..728601eef65 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,9 @@ +2010-09-18 Karl Berry <karl@tug.org> + + * texmf.cnf (DVIPDFMXINPUTS): do not include ., so attackers + cannot create a dvipdfmx.cfg with, e.g., xetex. + Report from Heiko, 16 Sep 2010 22:32:25. + 2010-09-09 Karl Berry <karl@tug.org> * mktexlsr (vc_dirs): remove CVS and RCS from the list, diff --git a/Build/source/texk/kpathsea/texmf.cnf b/Build/source/texk/kpathsea/texmf.cnf index 2bdfe3dcf6b..42c6ddde4ed 100644 --- a/Build/source/texk/kpathsea/texmf.cnf +++ b/Build/source/texk/kpathsea/texmf.cnf @@ -428,6 +428,10 @@ TEX4HTINPUTS = .;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts/{$TEX4HTFONTSET}// TW_LIBPATH = $TEXMFCONFIG/texworks TW_INIPATH = $TW_LIBPATH +% For security, do not look in . for dvipdfmx.cfg, since the D option +% would allow command execution. +DVIPDFMXINPUTS = $TEXMF/dvipdfmx + % Find scripts that are distributed/installed in the texmf tree. % Lua needs to look in TEXINPUTS for lua scripts distributed with packages. |