[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/cvs/devel cvs-1.11.22-free.patch,NONE,1.1 cvs.spec,1.45,1.46



Author: mbarabas

Update of /cvs/dist/rpms/cvs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18488

Modified Files:
	cvs.spec 
Added Files:
	cvs-1.11.22-free.patch 
Log Message:
fix for #196848 - double free coruption
CVS  Enter Log.  Lines beginning with `CVS:' are removed automatically


cvs-1.11.22-free.patch:
 login.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE cvs-1.11.22-free.patch ---
--- cvs-1.11.22/src/login.c.old	2006-06-28 13:41:14.000000000 +0200
+++ cvs-1.11.22/src/login.c	2006-06-28 13:35:40.000000000 +0200
@@ -600,7 +600,7 @@
        context, then assume they have supplied the correct, scrambled
        password. */
     if (cvs_password)
-	return cvs_password;
+	return xstrdup(cvs_password);
 
     if (getenv ("CVS_PASSWORD") != NULL)
     {


Index: cvs.spec
===================================================================
RCS file: /cvs/dist/rpms/cvs/devel/cvs.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- cvs.spec	22 Jun 2006 09:20:58 -0000	1.45
+++ cvs.spec	28 Jun 2006 14:50:58 -0000	1.46
@@ -4,7 +4,7 @@
 Summary: A version control system.
 Name: cvs
 Version: 1.11.22
-Release: 2
+Release: 3
 License: GPL
 Group: Development/Tools
 Source0: https://ccvs.cvshome.org/files/documents/19/192/cvs-%{version}.tar.bz2
@@ -27,6 +27,7 @@
 Patch13: cvs-1.11.21-diff.patch
 Patch14: cvs-1.11.21-diff-kk.patch
 Patch15: cvs-1.11.21-sort.patch
+Patch16: cvs-1.11.22-free.patch
 Prereq: /sbin/install-info
 Requires: vim-minimal
 Prefix: %{_prefix}
@@ -73,6 +74,7 @@
 %patch13 -p1 -b .diff
 %patch14 -p1 -b .diff-kk
 %patch15 -p1 -b .env
+%patch16 -p1 -b .free
 
 # Apply a patch to the generated files, OR
 # run autoreconf and require autoconf >= 2.58, automake >= 1.7.9
@@ -141,6 +143,9 @@
 %{_sysconfdir}/profile.d/*
 
 %changelog
+* Wed Jun 28 2006 Maros Barabas <mbarabas redhat com> - 1.11.22-3
+- fix for #196848 - double free coruption
+
 * Thu Jun 22 2006 Martin Stransky <stransky redhat com> - 1.11.22-2
 - added LFS support (#196259)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]