Tue, 20 Jul 2010 13:44:56 +0000
If a link is clicked in a conversation, and connection to server happens to have
been dropped then a SIGSEGV could occur.
| libpurple/protocols/mxit/mxit.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/mxit/mxit.c Tue Jul 20 09:46:28 2010 +0000 +++ b/libpurple/protocols/mxit/mxit.c Tue Jul 20 13:44:56 2010 +0000 @@ -91,6 +91,8 @@ if ( !account ) goto skip; con = purple_account_get_connection( account ); + if ( !con ) + goto skip; /* determine if it's a command-response to send */ is_command = g_str_has_prefix( parts[4], "::type=reply|" );