# HG changeset patch # User Eric Warmenhoven # Date 1005863173 0 # Node ID ca32b587589f68f981691928cc42cfa61df784ea # Parent abecab6004516d776f174399a1378848024fc4f7 [gaim-migrate @ 2736] Valdis Kletnieks (sysphrog) suggested this fix. This seems really odd to me. Typical Yahoo. committer: Tailor Script diff -r abecab600451 -r ca32b587589f src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Thu Nov 15 20:18:07 2001 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Nov 15 22:26:13 2001 +0000 @@ -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)