Update of /cvsroot/gaim/gaim/src/protocols/yahoo
In directory usw-pr-cvs1:/tmp/cvs-serv21381/protocols/yahoo
Modified Files:
yahoo.c
Log Message:
Valdis Kletnieks (sysphrog) suggested this fix. This seems really odd to me. Typical Yahoo.
Index: yahoo.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- yahoo.c 2001/11/14 06:20:56 1.10
+++ yahoo.c 2001/11/15 22:26:13 1.11
@@ -229,7 +229,7 @@
pos += 2;
pair->key = strtol(key, NULL, 10);
- value = g_malloc(len - pos);
+ value = g_malloc(len - pos + 1);
x = 0;
while (pos + 1 < len) {
if (data[pos] == 0xc0 && data[pos + 1] == 0x80)
|