rpms/grip/devel grip-3.2.0-id3.c.patch,NONE,1.1 grip.spec,1.5,1.6

Adrian Reber (adrian) fedora-extras-commits at redhat.com
Thu Aug 4 17:24:32 UTC 2005


Author: adrian

Update of /cvs/extras/rpms/grip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21411

Modified Files:
	grip.spec 
Added Files:
	grip-3.2.0-id3.c.patch 
Log Message:
added patch for buffer overflow in id3.c (#160671)


grip-3.2.0-id3.c.patch:

--- NEW FILE grip-3.2.0-id3.c.patch ---
diff -Nur grip-3.2.0-orig/src/id3.c grip-3.2.0/src/id3.c
--- grip-3.2.0-orig/src/id3.c	2004-04-15 20:20:31.000000000 +0200
+++ grip-3.2.0/src/id3.c	2005-08-04 02:27:15.000000000 +0200
@@ -251,7 +251,7 @@
       
       if ( frames[ i ] ) {
 	char *c_data = NULL;
-	char gen[ 5 ] = "(   )";
+	char gen[ 6 ] = "(   )";
 	char trk[ 4 ] = "   ";
 	
 	switch( frameids[ i ] ) {


Index: grip.spec
===================================================================
RCS file: /cvs/extras/rpms/grip/devel/grip.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- grip.spec	7 Jul 2005 08:54:59 -0000	1.5
+++ grip.spec	4 Aug 2005 17:24:30 -0000	1.6
@@ -1,7 +1,7 @@
 Summary: Front-end for CD rippers and Ogg Vorbis encoders
 Name: grip
 Version: 3.2.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 Epoch: 1
 License: GPL
 Group: Applications/Multimedia
@@ -9,6 +9,7 @@
 Source1: grip.1
 Patch1: grip-3.2.0-default.patch
 Patch2: grip-cell-renderer.patch
+Patch3: grip-3.2.0-id3.c.patch
 URL: http://www.nostatic.org/grip/
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: vorbis-tools
@@ -27,6 +28,7 @@
 %setup -q
 %patch1 -p1 -b .rh-default-encoder
 %patch2 -p1 -b .cell-renderer
+%patch3 -p1 -b .id3
 
 %build
 %configure
@@ -75,6 +77,9 @@
 %{_mandir}/man1/*
 
 %changelog
+* Thu Aug 04 2005 Adrian Reber <adrian at lisas.de> - 1:3.2.0-6
+- added patch for buffer overflow in id3.c (#160671)
+
 * Thu Jul 07 2005 Adrian Reber <adrian at lisas.de> - 1:3.2.0-5
 - added patch to fix cell renderer problem (BZ #162324)
 - wrote and added a man page




More information about the scm-commits mailing list