From: <ma...@us...> - 2006-08-29 14:18:08
|
Revision: 17080 Author: marv_sf Date: 2006-08-29 07:18:04 -0700 (Tue, 29 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=17080&view=rev Log Message: ----------- This should fix bleeter's crash, the backtrace shows the group is null. I probably need see the packets to fix it better, this will just ignore buddies not in a group instead of figuring out their group. Modified Paths: -------------- trunk/libgaim/protocols/yahoo/yahoo.c Modified: trunk/libgaim/protocols/yahoo/yahoo.c =================================================================== --- trunk/libgaim/protocols/yahoo/yahoo.c 2006-08-29 04:33:53 UTC (rev 17079) +++ trunk/libgaim/protocols/yahoo/yahoo.c 2006-08-29 14:18:04 UTC (rev 17080) @@ -499,6 +499,8 @@ grp = yahoo_string_decode(gc, pair->value, FALSE); break; case 7: /* buddy's s/n */ + if (!grp) /* this buddy isn't in a group?! */ + break; g_free(norm_bud); norm_bud = g_strdup(gaim_normalize(account, pair->value)); f = yahoo_friend_find_or_new(gc, norm_bud); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |