rpms/libid3tag/EL-5 libid3tag-0.15.1b-fix_overflow.patch, NONE, 1.1 libid3tag.spec, 1.14, 1.15
Todd M. Zullinger (tmz)
fedora-extras-commits at redhat.com
Fri May 9 17:22:53 UTC 2008
Author: tmz
Update of /cvs/extras/rpms/libid3tag/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5824/EL-5
Modified Files:
libid3tag.spec
Added Files:
libid3tag-0.15.1b-fix_overflow.patch
Log Message:
fix for CVE-2008-2109 (#445812)
libid3tag-0.15.1b-fix_overflow.patch:
--- NEW FILE libid3tag-0.15.1b-fix_overflow.patch ---
--- field.c.orig 2008-05-05 09:49:15.000000000 -0400
+++ field.c 2008-05-05 09:49:25.000000000 -0400
@@ -291,7 +291,7 @@
end = *ptr + length;
- while (end - *ptr > 0) {
+ while (end - *ptr > 0 && **ptr != '\0') {
ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
if (ucs4 == 0)
goto fail;
Index: libid3tag.spec
===================================================================
RCS file: /cvs/extras/rpms/libid3tag/EL-5/libid3tag.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- libid3tag.spec 22 Sep 2007 07:03:33 -0000 1.14
+++ libid3tag.spec 9 May 2008 17:21:45 -0000 1.15
@@ -1,12 +1,13 @@
Name: libid3tag
Version: 0.15.1b
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: ID3 tag manipulation library
Group: System Environment/Libraries
License: GPLv2+
URL: http://www.underbit.com/products/mad/
Source0: http://download.sourceforge.net/mad/%{name}-%{version}.tar.gz
+Patch0: libid3tag-0.15.1b-fix_overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: zlib-devel >= 1.1.4
@@ -27,6 +28,8 @@
%prep
%setup -q
+%patch -p0 -b .CVE-2008-2109
+
# *.pc originally from the Debian package.
cat << \EOF > %{name}.pc
prefix=%{_prefix}
@@ -77,6 +80,9 @@
%changelog
+* Fri May 09 2008 Todd Zullinger <tmz at pobox.com> - 0.15.1b-5
+- fix for CVE-2008-2109 (#445812)
+
* Mon Aug 6 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.15.1b-4
- License: GPLv2+
More information about the fedora-extras-commits
mailing list