pidgin.2.5.8: e874d426: *** Plucked rev 6b28d34173486d3e4f658f62...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Thu Jun 25 20:20:46 EDT 2009


-----------------------------------------------------------------
Revision: e874d426351462e72adb23248c0de8576b61787f
Ancestor: 682f4849ee5ce760bf620b021d00c0c4b7e68f79
Author: rekkanoryo at pidgin.im
Date: 2009-06-25T23:31:53
Branch: im.pidgin.pidgin.2.5.8
URL: http://d.pidgin.im/viewmtn/revision/info/e874d426351462e72adb23248c0de8576b61787f

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

ChangeLog: 

*** Plucked rev 6b28d34173486d3e4f658f62a61c93b56a489cb0 (sulabh at soc.pidgin.im):
This should prevent pidgin from crashing, as reported by the ticket #9426.


-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_picture.c	10e0b0fe51850bc90774dcbb4af730d95bf00d70
+++ libpurple/protocols/yahoo/yahoo_picture.c	1175aaec045d57e6eafd345630e58242f115e48b
@@ -110,6 +110,9 @@ void yahoo_process_picture(PurpleConnect
 		l = l->next;
 	}
 
+	if (!who)
+		return;
+
 	if (!purple_privacy_check(purple_connection_get_account(gc), who)) {
 		purple_debug_info("yahoo", "Picture packet from %s dropped.\n", who);
 		return;


More information about the Commits mailing list