- Fix UTF-16 string parsing patch again

This commit is contained in:
Bastien Nocera 2009-10-19 16:17:36 +00:00
parent 008a5148be
commit 4fad3f833e
2 changed files with 17 additions and 1 deletions

View File

@ -99,3 +99,13 @@ index c41e758..3f352e1 100644
}
break;
case MHOD_ID_PODCASTURL:
--- libgpod-0.7.2/src/itdb_itunesdb.c.old 2009-10-19 16:53:13.000000000 +0100
+++ libgpod-0.7.2/src/itdb_itunesdb.c 2009-10-19 16:53:57.000000000 +0100
@@ -1423,6 +1423,7 @@ static MHODData get_mhod (FImport *fimp,
case MHOD_ID_SORT_TVSHOW:
result.data.string = extract_mhod_string (cts, seek);
if (result.data.string == NULL) {
+ *ml = mhod_len;
return result;
}
break;

View File

@ -3,7 +3,7 @@
Summary: Library to access the contents of an iPod
Name: libgpod
Version: 0.7.2
Release: 3%{?dist}
Release: 5%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.gtkpod.org/libgpod.html
@ -141,6 +141,12 @@ libgpod library.
%changelog
* Mon Oct 19 2009 Bastien Nocera <bnocera@redhat.com> 0.7.2-5
- Fix UTF-16 string parsing patch again
* Mon Oct 19 2009 Bastien Nocera <bnocera@redhat.com> 0.7.2-4
- Update UTF-16 string parsing patch
* Sat Oct 17 2009 Bastien Nocera <bnocera@redhat.com> 0.7.2-3
- Fix crasher when parsing UTF-16 strings with a BOM (#517642)