# HG changeset patch # User andrew.victor@mxit.com # Date 1279633496 0 # Node ID bcc196eb47c2198a7867e71ea012f833aa74e0dc # Parent 8c586dbcae2df150f64f9f8b4d2ecdbfecb59997 If a link is clicked in a conversation, and connection to server happens to have been dropped then a SIGSEGV could occur. diff -r 8c586dbcae2d -r bcc196eb47c2 libpurple/protocols/mxit/mxit.c --- 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|" );