[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.
diff --git a/ChangeLog b/ChangeLog
index a3868fa..e9a722f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-11-29 Werner Lemberg <wl@gnu.org>
+
+ [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.
+
2012-11-28 Alexei Podtelezhnikov <apodtele@gmail.com>
[truetype] Fix formatting and typo.
diff --git a/src/type1/t1parse.c b/src/type1/t1parse.c
index 1ba48c1..d1c24c2 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;