rpms/make/devel make-3.81-double-free.patch, NONE, 1.1 make.spec, 1.50, 1.51

Petr Machata pmachata at fedoraproject.org
Thu Jul 1 14:13:38 UTC 2010


Author: pmachata

Update of /cvs/pkgs/rpms/make/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27218

Modified Files:
	make.spec 
Added Files:
	make-3.81-double-free.patch 
Log Message:
- Add a patch by Steve Kemp @debian that might fix the double free
  problem.
- Related: #609806


make-3.81-double-free.patch:
 read.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE make-3.81-double-free.patch ---
diff -up /home/petr/fedora/make/devel/make-3.81/read.c\~ /home/petr/fedora/make/devel/make-3.81/read.c
--- make-3.81/read.c~	2010-07-01 16:01:34.000000000 +0200
+++ make-3.81/read.c	2010-07-01 16:02:29.000000000 +0200
@@ -3136,6 +3136,7 @@ multi_glob (struct nameseq *chain, unsig
 		      }
 
 		    free (memname);
+		    memname = 0;
 		  }
 		else
 #endif /* !NO_ARCHIVES */

Diff finished.  Thu Jul  1 16:02:44 2010


Index: make.spec
===================================================================
RCS file: /cvs/pkgs/rpms/make/devel/make.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -p -r1.50 -r1.51
--- make.spec	4 Jun 2010 12:13:11 -0000	1.50
+++ make.spec	1 Jul 2010 14:13:38 -0000	1.51
@@ -3,7 +3,7 @@ Summary: A GNU tool which simplifies the
 Name: make
 Epoch: 1
 Version: 3.81
-Release: 19%{?dist}
+Release: 12%{?dist}
 License: GPLv2+
 Group: Development/Tools
 URL: http://www.gnu.org/software/make/
@@ -19,6 +19,7 @@ Patch10: make-3.81-jobserver.patch
 Patch11: make-3.81-fdleak.patch
 Patch12: make-3.81-strcpy-overlap.patch
 Patch13: make-3.81-recursion-test.patch
+Patch14: make-3.81-double-free.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -44,6 +45,7 @@ makefile.
 %patch11 -p1
 %patch12 -p0
 %patch13 -p1
+%patch14 -p1
 
 %build
 %configure
@@ -86,6 +88,11 @@ fi
 %{_infodir}/*.info*
 
 %changelog
+* Thu Jul  1 2010 Petr Machata <pmachata at redhat.com> - 1:3.81-20
+- Add a patch by Steve Kemp @debian that might fix the double free
+  problem.
+- Related: #609806
+
 * Fri Jun  4 2010 Petr Machata <pmachata at redhat.com> - 1:3.81-19
 - Fix testsuite on F13
 - Resolves: #600004



More information about the scm-commits mailing list