summaryrefslogtreecommitdiff
path: root/fonts/fontforge/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/fontforge/patches/patch-ai')
-rw-r--r--fonts/fontforge/patches/patch-ai16
1 files changed, 16 insertions, 0 deletions
diff --git a/fonts/fontforge/patches/patch-ai b/fonts/fontforge/patches/patch-ai
new file mode 100644
index 00000000000..3466bca0b1d
--- /dev/null
+++ b/fonts/fontforge/patches/patch-ai
@@ -0,0 +1,16 @@
+$NetBSD: patch-ai,v 1.5 2010/10/10 18:44:54 wiz Exp $
+
+Stack overflow bug, see:
+http://sourceforge.net/mailarchive/forum.php?thread_name=4C5D676B.3000509%40limes.com.pl&forum_name=fontforge-devel
+
+--- fontforge/svg.c.orig 2010-04-29 03:53:22.000000000 +0000
++++ fontforge/svg.c
+@@ -150,7 +150,7 @@ return( defwid );
+ static int svg_pathdump(FILE *file, SplineSet *spl, int lineout,
+ int forceclosed, int do_clips) {
+ BasePoint last;
+- char buffer[60];
++ char buffer[85];
+ int closed=false;
+ Spline *sp, *first;
+ /* as I see it there is nothing to be gained by optimizing out the */