Fix a segfault in the Yahoo! module.
Reported by: Kenneth W Cochran <kwc@TheWorld.com> Obtained from: gaim CVS
This commit is contained in:
parent
b1d5674a07
commit
0bd1d15402
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67953
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.59.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
12
net-im/gaim/files/patch-temp
Normal file
12
net-im/gaim/files/patch-temp
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/protocols/yahoo/yahoo.c.orig Sun Oct 13 02:50:25 2002
|
||||
+++ src/protocols/yahoo/yahoo.c Sun Oct 13 02:50:58 2002
|
||||
@@ -525,6 +525,9 @@
|
||||
l = l->next;
|
||||
}
|
||||
|
||||
+ if (!msg)
|
||||
+ return;
|
||||
+
|
||||
if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) {
|
||||
if (*stat == '1')
|
||||
serv_got_typing(gc, from, 0);
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.59.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
12
net/gaim-snapshot/files/patch-temp
Normal file
12
net/gaim-snapshot/files/patch-temp
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/protocols/yahoo/yahoo.c.orig Sun Oct 13 02:50:25 2002
|
||||
+++ src/protocols/yahoo/yahoo.c Sun Oct 13 02:50:58 2002
|
||||
@@ -525,6 +525,9 @@
|
||||
l = l->next;
|
||||
}
|
||||
|
||||
+ if (!msg)
|
||||
+ return;
|
||||
+
|
||||
if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) {
|
||||
if (*stat == '1')
|
||||
serv_got_typing(gc, from, 0);
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.59.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
12
net/gaim/files/patch-temp
Normal file
12
net/gaim/files/patch-temp
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/protocols/yahoo/yahoo.c.orig Sun Oct 13 02:50:25 2002
|
||||
+++ src/protocols/yahoo/yahoo.c Sun Oct 13 02:50:58 2002
|
||||
@@ -525,6 +525,9 @@
|
||||
l = l->next;
|
||||
}
|
||||
|
||||
+ if (!msg)
|
||||
+ return;
|
||||
+
|
||||
if (!g_strncasecmp(msg, "TYPING", strlen("TYPING"))) {
|
||||
if (*stat == '1')
|
||||
serv_got_typing(gc, from, 0);
|
Loading…
Reference in New Issue
Block a user