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-src_display_vga.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-src_display_vga.c')
-rw-r--r-- | japanese/kon2-16dot/files/patch-src_display_vga.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/japanese/kon2-16dot/files/patch-src_display_vga.c b/japanese/kon2-16dot/files/patch-src_display_vga.c new file mode 100644 index 000000000000..cc2ffe5b6fe2 --- /dev/null +++ b/japanese/kon2-16dot/files/patch-src_display_vga.c @@ -0,0 +1,25 @@ + --- src/display/vga.c 30 Sep 2008 08:09:56 -0000 1.1.1.2 + +++ src/display/vga.c 23 Oct 2008 09:24:33 -0000 + @@ -56,7 +56,6 @@ + #endif + vm_size_t page_size; + #endif + -#undef free + #include <stdlib.h> + + #include <mem.h> + @@ -691,10 +690,9 @@ + + munmap(gramMem, dInfo.gsize); + + - SafeFree((void **)&gramMem); + - SafeFree((void **)&fontBuff1); + + SafeFree(fontBuff1); + if (savePlane3) + - SafeFree((void **)&fontBuff2); + + SafeFree(fontBuff2); + } + + /* Configure */ + + |