# HG changeset patch # User Stu Tomlinson # Date 1231424116 0 # Node ID 2aa4b88bdcf8236f54a0bdaaec8994a1d94a6c70 # Parent ee9b00cc4298268d04e36da28d8317f018f066e7 I have no idea if this check is needed, but it looked a bit risky without it diff -r ee9b00cc4298 -r 2aa4b88bdcf8 libpurple/protocols/msn/oim.c --- a/libpurple/protocols/msn/oim.c Wed Jan 07 01:18:16 2009 +0000 +++ b/libpurple/protocols/msn/oim.c Thu Jan 08 14:15:16 2009 +0000 @@ -651,7 +651,7 @@ /* Match number to user's mobile number, FROM is a phone number if the other side pages you using your phone number */ - if (!strncmp(from, "tel:+", 5)) { + if (from && !strncmp(from, "tel:+", 5)) { MsnUser *user = msn_userlist_find_user_with_mobile_phone( rdata->oim->session->userlist, from + 4);