pidgin: 2bac1c97: I think user might be NULL here.

qulogic at pidgin.im qulogic at pidgin.im
Fri May 21 18:02:51 EDT 2010


-----------------------------------------------------------------
Revision: 2bac1c974fbef879eca810eb3419921cbc5d2ea2
Ancestor: a2c12a00c9cb8be73b0ad117002086193a29b8f6
Author: qulogic at pidgin.im
Date: 2010-05-06T05:24:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2bac1c974fbef879eca810eb3419921cbc5d2ea2

Modified files:
        libpurple/protocols/msn/slp.c

ChangeLog: 

I think user might be NULL here.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/slp.c	436c942aab14ac6d1540b598dcd03a612d829f18
+++ libpurple/protocols/msn/slp.c	965cc587970a7d476da9a02fac36713f9649db88
@@ -813,7 +813,7 @@ got_ok(MsnSlpCall *slpcall,
 
 		user = msn_userlist_find_user(slpcall->slplink->session->userlist,
 		                              slpcall->slplink->remote_user);
-		if (!(user->clientid & 0xF0000000))	{
+		if (!user || !(user->clientid & 0xF0000000))	{
 			/* Just start a normal SB transfer. */
 			msn_slpcall_session_init(slpcall);
 			return;


More information about the Commits mailing list