From 78dc5846009df6c8e8266dfd7e8736582e434a16 Mon Sep 17 00:00:00 2001 From: Stephen Montgomery-Smith Date: Tue, 12 Jul 2011 03:47:34 +0000 Subject: - Fix buffer overflow and mouse bugs. - Bump portrevision. PR: ports/127321 Submitted by: Arai Toshihiko Approved by: gabor (mentor) --- japanese/kon2-16dot/files/patch-font_fontx2.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 japanese/kon2-16dot/files/patch-font_fontx2.c (limited to 'japanese/kon2-16dot/files/patch-font_fontx2.c') diff --git a/japanese/kon2-16dot/files/patch-font_fontx2.c b/japanese/kon2-16dot/files/patch-font_fontx2.c new file mode 100644 index 000000000000..0acd90f49c0c --- /dev/null +++ b/japanese/kon2-16dot/files/patch-font_fontx2.c @@ -0,0 +1,19 @@ + --- font/fontx2.c 30 Sep 2008 08:02:59 -0000 1.1.1.1 + +++ font/fontx2.c 23 Oct 2008 09:24:33 -0000 + @@ -37,6 +37,7 @@ + #include + #include + + +#include + #include + #include + + @@ -170,7 +171,7 @@ + font = FontLoadSFontx(fp, header); + else exit(0); + } + - free(header); + + SafeFree(header); + return(font); + } + -- cgit v1.2.3