summaryrefslogtreecommitdiff
path: root/src/type1/t1parse.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2012-11-29 21:10:10 +0100
committerWerner Lemberg <wl@gnu.org>2012-11-29 21:10:10 +0100
commit337fcb6ad6ca9df4347fb57217836417db6cbf15 (patch)
treef1184652107d6a16d2d915c211447228b4d09ba7 /src/type1/t1parse.c
parent6a126e14c4cd128b53e865a24480c9b144d3a25a (diff)
downloadfreetype2-337fcb6ad6ca9df4347fb57217836417db6cbf15.tar.gz
[type1] Fix Savannah bug #37831.
The bug report also contains a patch. * src/type1/t1parse.c (T1_Get_Private_Dict) <found>: Really fix change from 2012-09-17.
Diffstat (limited to 'src/type1/t1parse.c')
-rw-r--r--src/type1/t1parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/type1/t1parse.c b/src/type1/t1parse.c
index 1ba48c13c..d1c24c2b0 100644
--- a/src/type1/t1parse.c
+++ b/src/type1/t1parse.c
@@ -364,7 +364,8 @@
/* or string (as e.g. in u003043t.gsf from ghostscript) */
parser->root.cursor = parser->base_dict;
- parser->root.limit = cur + 9;
+ /* set limit to `eexec' + newline + 4 characters */
+ parser->root.limit = cur + 10;
cur = parser->root.cursor;
limit = parser->root.limit;