pidgin: d639e306: Patch from Raiko Nitzsche to fix a crash...

datallah at pidgin.im datallah at pidgin.im
Fri Nov 21 11:50:23 EST 2008


-----------------------------------------------------------------
Revision: d639e3065d1f99c8d438d6de98804498e850df47
Ancestor: 3998d5347fcf57a8cc9b15a560ecac141d093cc5
Author: datallah at pidgin.im
Date: 2008-11-21T16:48:15
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d639e3065d1f99c8d438d6de98804498e850df47

Modified files:
        libpurple/protocols/sametime/sametime.c

ChangeLog: 

Patch from Raiko Nitzsche to fix a crash when processing a LOGIN_REDIRECT with unexpected output.  References #7563.

-------------- next part --------------
============================================================
--- libpurple/protocols/sametime/sametime.c	dab0b7d6c3a41bd313462023f934be90569e512a
+++ libpurple/protocols/sametime/sametime.c	164bb32167add8d625cb0ec4757cca873a4bb1ab
@@ -1445,7 +1445,7 @@ static void session_loginRedirect(struct
 					 MW_PLUGIN_DEFAULT_HOST);
 
   if(purple_account_get_bool(account, MW_KEY_FORCE, FALSE) ||
-     (! strcmp(current_host, host)) ||
+     !host || (! strcmp(current_host, host)) ||
      (purple_proxy_connect(NULL, account, host, port, connect_cb, pd) == NULL)) {
 
     /* if we're configured to force logins, or if we're being


More information about the Commits mailing list