--- gaim-0.59.9/src/protocols/yahoo/yahoo.c.buffer2 Mon Jan 6 19:20:04 2003 +++ gaim-0.59.9/src/protocols/yahoo/yahoo.c Wed Feb 11 12:44:34 2004 @@ -254,8 +254,14 @@ while (pos + 1 < len) { if (data[pos] == 0xc0 && data[pos + 1] == 0x80) break; + if (x >= sizeof(key)-1) { + x++;pos++; + continue; + } key[x++] = data[pos++]; } + if (x >= sizeof(key)-1) + x = 0; key[x] = 0; pos += 2; pair->key = strtol(key, NULL, 10);