changeset 30475:71c24c85e4af

I think user might be NULL here.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 06 May 2010 05:24:06 +0000
parents 531fe008410e
children f0de96a35877
files libpurple/protocols/msn/slp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Wed May 05 09:07:10 2010 +0000
+++ b/libpurple/protocols/msn/slp.c	Thu May 06 05:24:06 2010 +0000
@@ -813,7 +813,7 @@
 
 		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;