diff -r cc08e570d7d5 -r 3d727b2e6f82 libpurple/protocols/yahoo/yahoo_profile.c --- a/libpurple/protocols/yahoo/yahoo_profile.c Thu Apr 03 17:30:00 2014 +0200 +++ b/libpurple/protocols/yahoo/yahoo_profile.c Thu Apr 03 18:01:10 2014 +0200 @@ -978,6 +978,8 @@ /* in to purple_markup_strip_html*/ char *fudged_buffer; + g_return_if_fail(strings != NULL); + yd = purple_connection_get_protocol_data(info_data->gc); fudged_buffer = purple_strcasereplace(url_buffer, "", "
"); @@ -989,7 +991,7 @@ purple_debug_misc("yahoo", "url_buffer = %p\n", url_buffer); /* convert to utf8 */ - if (strings && strings->charset) { + if (strings->charset) { p = g_convert(stripped, -1, "utf-8", strings->charset, NULL, NULL, NULL); if (!p) { @@ -1009,7 +1011,7 @@ p = NULL; /* "Last updated" should also be converted to utf8 and with   killed */ - if (strings && strings->charset) { + if (strings->charset) { last_updated_utf8_string = g_convert(last_updated_string, -1, "utf-8", strings->charset, NULL, NULL, NULL); yahoo_remove_nonbreaking_spaces(last_updated_utf8_string);