summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-11-27 23:54:52 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-11-27 23:54:52 +0000
commitdf5f466c855cf00588a26608e96b374b4322a736 (patch)
treec79a35cd77f1525edbbdb5bf0169972cc82bccd9
parent79e04472fb9e3904f137ddb61f70ff45fd32d1e5 (diff)
Avoid to crash and abort with an error message when the character size >= 2048 pt.
git-svn-id: svn://tug.org/texlive/trunk@38962 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog2
-rw-r--r--Build/source/texk/web2c/dvicopy.ch2
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index c982ba3d359..cc3b6e249f4 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,7 +1,7 @@
2015-11-27 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* dvicopy.ch: Avoid to crash and abort with an error message when
- the character size is larger than 1024 pt.
+ the character size >= 2048 pt.
2015-09-22 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/web2c/dvicopy.ch b/Build/source/texk/web2c/dvicopy.ch
index 4af1dadd811..2464bb543db 100644
--- a/Build/source/texk/web2c/dvicopy.ch
+++ b/Build/source/texk/web2c/dvicopy.ch
@@ -294,7 +294,7 @@ alpha:=16;
while z>=@'40000000 do
@y
alpha:=16;
-if z>@'400000000 then abort('Character size is too large!');
+if z>=@'1000000000 then abort('Character size is too large!');
while z>=@'40000000 do
@z