|
From: <dat...@us...> - 2006-09-06 02:08:19
|
Revision: 17173
http://svn.sourceforge.net/gaim/?rev=17173&view=rev
Author: datallah
Date: 2006-09-05 19:08:15 -0700 (Tue, 05 Sep 2006)
Log Message:
-----------
Fix Bug #153721 - Crash caused by non-UTF8 text passed to g_markup_escape_text(). I suspect there may be elsewhere in the gg prpl that suffers from the same problem, but I don't want to be willy-nilly running utf8 validation everyere.
Modified Paths:
--------------
trunk/libgaim/protocols/gg/gg.c
Modified: trunk/libgaim/protocols/gg/gg.c
===================================================================
--- trunk/libgaim/protocols/gg/gg.c 2006-09-06 00:46:00 UTC (rev 17172)
+++ trunk/libgaim/protocols/gg/gg.c 2006-09-06 02:08:15 UTC (rev 17173)
@@ -1547,7 +1547,7 @@
return text;
} else {
- tmp = g_strdup(gaim_status_get_name(status));
+ tmp = gaim_utf8_salvage(gaim_status_get_name(status));
text = g_markup_escape_text(tmp, -1);
g_free(tmp);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|