diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-12-13 05:33:14 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-12-13 05:33:14 +0000 |
commit | 95a71c26578970d4baed10b779333e659f12fd0c (patch) | |
tree | 0bacc26065c2ad7f3e8ef4f9301e9b81043af301 /Build | |
parent | c7c6cfc972293a3cdc8504cc038eaccded07a710 (diff) |
dvipsk: Fix a bug leading to wrong strlen (emstr). Thanks Norbert Klingen.
git-svn-id: svn://tug.org/texlive/trunk@42694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvipsk/emspecial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/emspecial.c b/Build/source/texk/dvipsk/emspecial.c index 38599bb27e3..462bce60fce 100644 --- a/Build/source/texk/dvipsk/emspecial.c +++ b/Build/source/texk/dvipsk/emspecial.c @@ -291,7 +291,7 @@ char *emp; int i; for (emp = emp+5; *emp && isspace((unsigned char)*emp); emp++); /* skip blanks */ for (i=0; *emp && !isspace((unsigned char)*emp) && !(*emp==','); emp++) { - if (strlen (emstr) > 499) { + if (strlen (emstr) > 498) { fprintf(stderr, "em:graph: special too long, truncating\n"); break; } |