pidgin: bbfef532: Don't crash when opening a tooltip for y...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Wed Jul 29 23:47:14 EDT 2009


-----------------------------------------------------------------
Revision: bbfef532c4fbf5aa48df32d5b551002e69d28d93
Ancestor: e3a225bac3670fe4105e163d68c910550a39b7e0
Author: maiku at soc.pidgin.im
Date: 2009-07-30T03:42:26
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bbfef532c4fbf5aa48df32d5b551002e69d28d93

Modified files:
        libpurple/protocols/yahoo/libymsg.c

ChangeLog: 

Don't crash when opening a tooltip for yahoo contacts who aren't on
the server list. This happens for mobile contacts.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	bcd3ee577bd9073bc31e2b75e7abbb71e94357cc
+++ libpurple/protocols/yahoo/libymsg.c	db2514133931b000f243dd7dd11915454ce5f860
@@ -3767,7 +3767,7 @@ void yahoo_tooltip_text(PurpleBuddy *b, 
 	if (presence != NULL)
 		purple_notify_user_info_add_pair(user_info, _("Presence"), presence);
 
-	if (full) {
+	if (f && full) {
 		YahooPersonalDetails *ypd = &f->ypd;
 		int i;
 		struct {


More information about the Commits mailing list