summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-02-24 08:35:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-02-24 08:35:18 +0000
commit035e1d6c41a8243f0ee387c06f142f5d266fda9a (patch)
tree85b0880b83c92fe74723df38e26128e1ba0e7f57 /Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test
parentfc6cfa0b756f94ceb9dabd6eb562803886ddd6fd (diff)
texk/dvipdfm-x: Bug fix - avoid sprintf() buffer overflow
git-svn-id: svn://tug.org/texlive/trunk@36365 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test')
-rwxr-xr-xBuild/source/texk/dvipdfm-x/xdvipdfm-ttc.test9
1 files changed, 4 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test b/Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test
index 24e044d2393..a718b30641b 100755
--- a/Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test
+++ b/Build/source/texk/dvipdfm-x/xdvipdfm-ttc.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
TEXMFCNF=$srcdir/../kpathsea
@@ -9,18 +9,17 @@ T1FONTS="$srcdir/tests;$srcdir/data"
TTFONTS="$srcdir/tests;$srcdir/data"
TEXFONTMAPS="$srcdir/tests;$srcdir/data"
DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data"
-TEXPICTS=$srcdir/tests
-export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS
+export TEXMFCNF TFMFONTS T1FONTS TTFONTS TEXFONTMAPS DVIPDFMXINPUTS
failed=
echo "*** xdvipdfmx -v -z0 -o ttc2.pdf ttc" && echo \
- && ./xdvipdfmx -z0 -o ttc2.pdf $srcdir/tests/ttc \
+ && ./xdvipdfmx -v -z0 -o ttc2.pdf $srcdir/tests/ttc \
&& echo && echo "xdvipdfmx-ttc tests OK" && echo \
|| failed="$failed xdvipdfmx-ttc"
test -z "$failed" && exit 0
echo
echo "failed tests:$failed"
-exit 77
+exit 1