diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-07-12 03:47:34 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-07-12 03:47:34 +0000 |
commit | 78dc5846009df6c8e8266dfd7e8736582e434a16 (patch) | |
tree | 7dce35ae85b5886ccace13afb0421defaadde563 /japanese/kon2-16dot/files/patch-font_fontx2.c | |
parent | - Fix *_DEPENDS entries after www/p5-libwww updated to 6.x (diff) |
- Fix buffer overflow and mouse bugs.
- Bump portrevision.
PR: ports/127321
Submitted by: Arai Toshihiko <double_star@scorpio.plala.or.jp>
Approved by: gabor (mentor)
Diffstat (limited to 'japanese/kon2-16dot/files/patch-font_fontx2.c')
-rw-r--r-- | japanese/kon2-16dot/files/patch-font_fontx2.c | 19 |
1 files changed, 19 insertions, 0 deletions
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 <string.h> + #include <sys/socket.h> + + +#include <defs.h> + #include <interface.h> + #include <fnld.h> + + @@ -170,7 +171,7 @@ + font = FontLoadSFontx(fp, header); + else exit(0); + } + - free(header); + + SafeFree(header); + return(font); + } + |