commit taglib-extras for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package taglib-extras for openSUSE:Factory
checked in at Sat Jul 25 18:53:24 CEST 2009.
--------
--- KDE/taglib-extras/taglib-extras.changes 2009-06-13 10:10:10.000000000 +0200
+++ taglib-extras/taglib-extras.changes 2009-07-25 11:35:58.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Jul 25 11:29:53 CEST 2009 - beineri@opensuse.org
+
+- update to 0.1.5: fix 64-bit field file-handling crash
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
taglib-extras-0.1.4.tar.bz2
New:
----
taglib-extras-0.1.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ taglib-extras.spec ++++++
--- /var/tmp/diff_new_pack.mqGtQm/_old 2009-07-25 18:53:12.000000000 +0200
+++ /var/tmp/diff_new_pack.mqGtQm/_new 2009-07-25 18:53:12.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package taglib-extras (Version 0.1.4)
+# spec file for package taglib-extras (Version 0.1.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -24,7 +24,7 @@
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: Extra plugins for TagLib
-Version: 0.1.4
+Version: 0.1.5
Release: 1
Source0: taglib-extras-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ taglib-extras-0.1.4.tar.bz2 -> taglib-extras-0.1.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/taglib-extras-0.1.4/ChangeLog new/taglib-extras-0.1.5/ChangeLog
--- old/taglib-extras-0.1.4/ChangeLog 2009-06-12 17:23:15.000000000 +0200
+++ new/taglib-extras-0.1.5/ChangeLog 2009-07-24 18:34:41.000000000 +0200
@@ -2,6 +2,10 @@
================
(C) 2009 Jeff Mitchell and the Amarok authors
+VERSION 0.1.5:
+ BUGFIXES:
+ * Fix mp4 file-handling crash. Fix in upstream TagLib. (BR 198730)
+
VERSION 0.1.4:
BUGFIXES:
* Fix possible mp4 file-handling crash. Fix in upstream TagLib. Thanks
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/taglib-extras-0.1.4/taglib-extras/mp4/mp4atom.cpp new/taglib-extras-0.1.5/taglib-extras/mp4/mp4atom.cpp
--- old/taglib-extras-0.1.4/taglib-extras/mp4/mp4atom.cpp 2009-03-22 18:07:16.000000000 +0100
+++ new/taglib-extras-0.1.5/taglib-extras/mp4/mp4atom.cpp 2009-07-24 18:34:41.000000000 +0200
@@ -41,10 +41,17 @@
length = header.mid(0, 4).toUInt();
if (length == 1) {
- debug("MP4: 64-bit atoms are not supported");
- length = 0;
- file->seek(0, File::End);
- return;
+ long long longLength = file->readBlock(8).toLongLong();
+ if (longLength >= 8 && longLength <= 0xFFFFFFFF) {
+ // The atom has a 64-bit length, but it's actually a 32-bit value
+ length = (long)longLength;
+ }
+ else {
+ debug("MP4: 64-bit atoms are not supported");
+ length = 0;
+ file->seek(0, File::End);
+ return;
+ }
}
if (length < 8) {
debug("MP4: Invalid atom size");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/taglib-extras-0.1.4/taglib-extras/mp4/mp4tag.cpp new/taglib-extras-0.1.5/taglib-extras/mp4/mp4tag.cpp
--- old/taglib-extras-0.1.4/taglib-extras/mp4/mp4tag.cpp 2009-04-29 17:56:41.000000000 +0200
+++ new/taglib-extras-0.1.5/taglib-extras/mp4/mp4tag.cpp 2009-07-24 18:34:41.000000000 +0200
@@ -23,9 +23,9 @@
* http://www.mozilla.org/MPL/ *
***************************************************************************/
+#include "mp4atom.h"
#include "mp4tag.h"
#include "tdebug.h"
-#include "mp4atom.h"
#include
participants (1)
-
root@Hilbert.suse.de