Mercurial > pidgin.yaz
diff libpurple/protocols/sametime/sametime.c @ 24426:f387ded6f5ed
Patch from Raiko Nitzsche to fix a crash when processing a LOGIN_REDIRECT with unexpected output. References #7563.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 21 Nov 2008 16:48:15 +0000 |
parents | 6757bffb3d3a |
children | f10aba5592c6 adf153852bcf c203ceb5bd9a |
line wrap: on
line diff
--- 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