All pastes #1709601 Raw Edit

teuf

public text v1 · immutable
#1709601 ·published 2009-12-10 13:35 UTC
rendered paste body
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.cindex 52b62d2..80e63ec 100644--- a/src/itdb_itunesdb.c+++ b/src/itdb_itunesdb.c@@ -1324,7 +1324,7 @@ static char *extract_mhod_string (FContents *cts, glong seek) 	}     } -    if (g_utf8_validate (entry_utf8, -1, NULL)) {+    if ((entry_utf8 != NULL) && (g_utf8_validate (entry_utf8, -1, NULL))) { 	return entry_utf8;     } else { 	g_free (entry_utf8);