commit 3886eec297c3f74310c04197eab77a8d636838c9
Author: Christophe Fergeau <[email protected]>
Date:   Mon Oct 19 15:48:40 2009 +0200

    properly skip mhod hunks with invalid strings

 src/itdb_itunesdb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index 15a7dcf..bd9f262 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -1427,6 +1427,7 @@ static MHODData get_mhod (FImport *fimp, glong mhod_seek, 
guint32 *ml)
   case MHOD_ID_SORT_TVSHOW:
       result.data.string = extract_mhod_string (cts, seek);
       if (result.data.string == NULL) {
+         *ml = mhod_len;
          return result;
       }
       break;

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to