- Fix buffer overflow when parsing HTML tags.

- Bump PORTREVISION

Approved by:	Maintainer
Obtained from:	Stan Bubrouski <stan@CCS.NEU.EDU> (via Bugtraq)
This commit is contained in:
Chris D. Faulhaber 2000-11-15 00:22:24 +00:00
parent d8090c67d7
commit 8d47665cbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35153
6 changed files with 60 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= gaim
PORTVERSION= 0.10.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
${MASTER_SITE_SOURCEFORGE}

View File

@ -0,0 +1,19 @@
--- src/gtkhtml.c.orig Mon Oct 9 13:34:59 2000
+++ src/gtkhtml.c Tue Nov 14 17:28:27 2000
@@ -3251,7 +3251,7 @@
GdkFont *cfont;
GdkRectangle area;
char *ws,
- tag[BUF_LONG],
+ *tag,
*c,
*url = NULL;
gint intag = 0,
@@ -3295,6 +3295,7 @@
c = text;
ws = g_malloc(strlen(text) + 2);
+ tag = g_malloc(strlen(text) + 2);
while (*c)
{

View File

@ -7,6 +7,7 @@
PORTNAME= gaim
PORTVERSION= 0.10.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
${MASTER_SITE_SOURCEFORGE}

View File

@ -0,0 +1,19 @@
--- src/gtkhtml.c.orig Mon Oct 9 13:34:59 2000
+++ src/gtkhtml.c Tue Nov 14 17:28:27 2000
@@ -3251,7 +3251,7 @@
GdkFont *cfont;
GdkRectangle area;
char *ws,
- tag[BUF_LONG],
+ *tag,
*c,
*url = NULL;
gint intag = 0,
@@ -3295,6 +3295,7 @@
c = text;
ws = g_malloc(strlen(text) + 2);
+ tag = g_malloc(strlen(text) + 2);
while (*c)
{

View File

@ -7,6 +7,7 @@
PORTNAME= gaim
PORTVERSION= 0.10.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
${MASTER_SITE_SOURCEFORGE}

19
net/gaim/files/patch-ad Normal file
View File

@ -0,0 +1,19 @@
--- src/gtkhtml.c.orig Mon Oct 9 13:34:59 2000
+++ src/gtkhtml.c Tue Nov 14 17:28:27 2000
@@ -3251,7 +3251,7 @@
GdkFont *cfont;
GdkRectangle area;
char *ws,
- tag[BUF_LONG],
+ *tag,
*c,
*url = NULL;
gint intag = 0,
@@ -3295,6 +3295,7 @@
c = text;
ws = g_malloc(strlen(text) + 2);
+ tag = g_malloc(strlen(text) + 2);
while (*c)
{