shithub: freetype+ttf2subf

Download patch

ref: 337fcb6ad6ca9df4347fb57217836417db6cbf15
parent: 6a126e14c4cd128b53e865a24480c9b144d3a25a
author: Werner Lemberg <[email protected]>
date: Thu Nov 29 16:10:10 EST 2012

[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.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-11-29  Werner Lemberg  <[email protected]>
+
+	[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  <[email protected]>
 
 	[truetype] Fix formatting and typo.
--- 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;