# HG changeset patch # User Daniel Atallah # Date 1227286095 0 # Node ID f387ded6f5ed7c08c9ab806e692c95b3db223987 # Parent 7cf760f3560ef0e76b926b01af9d7328d1d87683 Patch from Raiko Nitzsche to fix a crash when processing a LOGIN_REDIRECT with unexpected output. References #7563. diff -r 7cf760f3560e -r f387ded6f5ed libpurple/protocols/sametime/sametime.c --- a/libpurple/protocols/sametime/sametime.c Fri Nov 21 12:12:31 2008 +0000 +++ b/libpurple/protocols/sametime/sametime.c Fri Nov 21 16:48:15 2008 +0000 @@ -1445,7 +1445,7 @@ 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