rpms/exim/FC-4 exim-4.60-mon-overflow.patch, NONE, 1.1 exim.spec, 1.10, 1.11

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Thu Mar 23 12:26:43 UTC 2006


Author: dwmw2

Update of /cvs/extras/rpms/exim/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8188

Modified Files:
	exim.spec 
Added Files:
	exim-4.60-mon-overflow.patch 
Log Message:
fix #186303

exim-4.60-mon-overflow.patch:

--- NEW FILE exim-4.60-mon-overflow.patch ---
--- exim-4.60/exim_monitor/em_queue.c~	2005-11-28 10:57:32.000000000 +0000
+++ exim-4.60/exim_monitor/em_queue.c	2006-03-23 12:23:20.000000000 +0000
@@ -500,7 +500,7 @@ for (i = 0; i < subdir_max; i++)
       uschar basename[SPOOL_NAME_LENGTH];
       stripchart_total[0]++;
       if (!eximon_initialized) { printf("."); fflush(stdout); }
-      Ustrcpy(basename, name);
+      Ustrncpy(basename, name, SPOOL_NAME_LENGTH - 2);
       basename[SPOOL_NAME_LENGTH - 2] = 0;
       if (full) find_queue(basename, queue_add, subdirchar);
       }


Index: exim.spec
===================================================================
RCS file: /cvs/extras/rpms/exim/FC-4/exim.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- exim.spec	21 Mar 2006 10:25:36 -0000	1.10
+++ exim.spec	23 Mar 2006 12:26:42 -0000	1.11
@@ -1,7 +1,7 @@
 Summary: The exim mail transfer agent
 Name: exim
 Version: 4.60
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPL
 Url: http://www.exim.org/
 Group: System Environment/Daemons
@@ -25,6 +25,7 @@
 Patch13: exim-4.43-pamconfig.patch
 Patch14: exim-4.50-spamdconf.patch
 Patch15: exim-4.52-dynamic-pcre.patch
+Patch16: exim-4.60-mon-overflow.patch
 
 Requires: /etc/aliases
 BuildRequires: db4-devel openssl-devel openldap-devel pam-devel
@@ -78,6 +79,7 @@
 %patch13 -p1 -b .pam
 %patch14 -p1 -b .spamd
 %patch15 -p1 -b .pcre
+%patch16 -p1
 
 %build
 %ifnarch s390 s390x
@@ -286,6 +288,9 @@
 %doc sa-exim*/{ACKNOWLEDGEMENTS,INSTALL,LICENSE,TODO}
 
 %changelog
+* Thu Mar 23 2006 David Woodhouse <dwmw2 at redhat.com> 4.60-5
+- Fix eximon buffer overflow (#186303)
+
 * Tue Mar 21 2006 David Woodhouse <dwmw2 at redhat.com> 4.60-4
 - Actually enable Postgres
 




More information about the fedora-extras-commits mailing list