pidgin: 9d9dfe16: fixes a crash, I think I've seen this be...

khc at pidgin.im khc at pidgin.im
Sun Dec 14 19:35:30 EST 2008


-----------------------------------------------------------------
Revision: 9d9dfe16667a3946233ae2a359de8856ee105289
Ancestor: 63e48c6f46a0639762084aace5a8aa75900a32d4
Author: khc at pidgin.im
Date: 2008-12-15T00:08:45
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9d9dfe16667a3946233ae2a359de8856ee105289

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

ChangeLog: 

fixes a crash, I think I've seen this before somewhere else


-------------- next part --------------
============================================================
--- libpurple/protocols/msn/soap.c	af6671b95e502554f678757ae48df6f96fef425c
+++ libpurple/protocols/msn/soap.c	a0d0310469dff2036b06d60b54b06db0b11ea595
@@ -505,7 +505,7 @@ msn_soap_read_cb(gpointer data, gint fd,
 		purple_debug_info("soap", "read: %s\n", g_strerror(perrno));
 
 #ifndef MSN_UNSAFE_DEBUG
-	if (conn->current_request->secure)
+	if (conn->current_request && conn->current_request->secure)
 		purple_debug_misc("soap", "Received secure request.\n");
 	else
 #endif


More information about the Commits mailing list