fixes a crash due to non terminated strings. submitted to gaim as well.
bump package. maintainer ok.
This commit is contained in:
parent
b8f386f1fe
commit
ee4d99d397
@ -1,10 +1,11 @@
|
|||||||
# $OpenBSD: Makefile,v 1.78 2005/07/23 20:57:02 brad Exp $
|
# $OpenBSD: Makefile,v 1.79 2005/08/05 18:55:41 fgsch Exp $
|
||||||
|
|
||||||
SHARED_ONLY= Yes
|
SHARED_ONLY= Yes
|
||||||
|
|
||||||
COMMENT= "Gtk AIM, ICQ, IRC, Jabber, MSN, Yahoo, SILC and Zephyr client"
|
COMMENT= "Gtk AIM, ICQ, IRC, Jabber, MSN, Yahoo, SILC and Zephyr client"
|
||||||
|
|
||||||
DISTNAME= gaim-1.4.0
|
DISTNAME= gaim-1.4.0
|
||||||
|
PKGNAME= ${DISTNAME}p0
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
HOMEPAGE= http://gaim.sourceforge.net/
|
HOMEPAGE= http://gaim.sourceforge.net/
|
||||||
|
20
net/gaim/patches/patch-src_util_c
Normal file
20
net/gaim/patches/patch-src_util_c
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
$OpenBSD: patch-src_util_c,v 1.3 2005/08/05 18:55:41 fgsch Exp $
|
||||||
|
--- src/util.c.orig Thu Aug 4 16:46:10 2005
|
||||||
|
+++ src/util.c Thu Aug 4 16:49:20 2005
|
||||||
|
@@ -2745,7 +2745,7 @@ url_fetched_cb(gpointer url_data, gint s
|
||||||
|
|
||||||
|
gfud->len++;
|
||||||
|
|
||||||
|
- if (gfud->len == gfud->data_len + 1)
|
||||||
|
+ if (gfud->len == gfud->data_len)
|
||||||
|
{
|
||||||
|
gfud->data_len += (gfud->data_len) / 2;
|
||||||
|
|
||||||
|
@@ -2753,6 +2753,7 @@ url_fetched_cb(gpointer url_data, gint s
|
||||||
|
}
|
||||||
|
|
||||||
|
gfud->webdata[gfud->len - 1] = data;
|
||||||
|
+ gfud->webdata[gfud->len] = '\0';
|
||||||
|
|
||||||
|
if (!gfud->startsaving)
|
||||||
|
{
|
Loading…
x
Reference in New Issue
Block a user