# HG changeset patch # User yaz # Date 1171432201 28800 # Node ID 94ab06db73face1dd176da7ec6f9f5a871ee4fe6 # Parent dc0d35d888d2c71e87f6e3f0e9ed56ac0d3601bf [svn] temporary fix for SIGSEGV in g_utf8_validate() when xmlURIEscape returns NULL. thank nhjm449 for reporting. diff -r dc0d35d888d2 -r 94ab06db73fa ChangeLog --- a/ChangeLog Tue Feb 13 05:55:00 2007 -0800 +++ b/ChangeLog Tue Feb 13 21:50:01 2007 -0800 @@ -1,3 +1,12 @@ +2007-02-13 13:55:00 +0000 Yoshiki Yazawa + revision [1372] + - switch from pseudo delete tag call back to genuine one. + + trunk/src/madplug/TODO | 2 - + trunk/src/madplug/fileinfo.c | 44 ------------------------------------------- + 2 files changed, 1 insertion(+), 45 deletions(-) + + 2007-02-13 05:58:47 +0000 Yoshiki Yazawa revision [1370] - remove a debug output. diff -r dc0d35d888d2 -r 94ab06db73fa src/xspf/xspf.c --- a/src/xspf/xspf.c Tue Feb 13 05:55:00 2007 -0800 +++ b/src/xspf/xspf.c Tue Feb 13 21:50:01 2007 -0800 @@ -286,7 +286,9 @@ g_free(tmp); } else { /* streaming */ - filename = (gchar *)xmlURIEscape((xmlChar *)entry->filename); + gchar *tmp = (gchar *)xmlURIEscape((xmlChar *)entry->filename); + filename = g_strdup(tmp ? tmp : entry->filename); + g_free(tmp); } if(!g_utf8_validate(filename, -1, NULL))