Comment 15 for bug 943275

Revision history for this message
John Smith (john-smithi) wrote : Re: New 'Import Clip Art…' dialog crashes on Windows

Attached is a fix for a crash when searching and non-utf8 compliant data is returned.

To reproduce : Search for text "link" causes a crash in g_markup_printf_escaped
Problem : g_markup_printf_escaped expects valid utf8 - but currently the data is not checked for utf8 validity.
Sample invalid data : "Penguin | Ping\xfcino"
Tested on : Ubuntu 12.04.