ph10 2006/02/14 14:26:15 GMT
Modified files:
exim-doc/doc-txt ChangeLog
exim-src/exim_monitor em_queue.c
Log:
Fix eximon buffer overflow bug.
Revision Changes Path
1.298 +2 -0 exim/exim-doc/doc-txt/ChangeLog
1.4 +1 -1 exim/exim-src/exim_monitor/em_queue.c
Index: ChangeLog
===================================================================
RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -r1.297 -r1.298
--- ChangeLog 14 Feb 2006 14:12:06 -0000 1.297
+++ ChangeLog 14 Feb 2006 14:26:14 -0000 1.298
@@ -1,4 +1,4 @@
-$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.297 2006/02/14 14:12:06 ph10 Exp $
+$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.298 2006/02/14 14:26:14 ph10 Exp $
Change log file for Exim from version 4.21
-------------------------------------------
@@ -157,6 +157,8 @@
PH/29 In GnuTLS, a forced expansion failure for tls_privatekey was not being
ignored. In both GnuTLS and OpenSSL, an expansion of tls_privatekey that
results in an empty string is now treated as unset.
+
+PH/30 Fix eximon buffer overflow bug (Bugzilla #73).
Exim version 4.60
Index: em_queue.c
===================================================================
RCS file: /home/cvs/exim/exim-src/exim_monitor/em_queue.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- em_queue.c 7 Feb 2006 11:18:59 -0000 1.3
+++ em_queue.c 14 Feb 2006 14:26:15 -0000 1.4
@@ -1,4 +1,4 @@
-/* $Cambridge: exim/exim-src/exim_monitor/em_queue.c,v 1.3 2006/02/07 11:18:59 ph10 Exp $ */
+/* $Cambridge: exim/exim-src/exim_monitor/em_queue.c,v 1.4 2006/02/14 14:26:15 ph10 Exp $ */
/*************************************************
* Exim Monitor *
@@ -497,7 +497,7 @@
name[SPOOL_NAME_LENGTH - 2] == '-' &&
name[SPOOL_NAME_LENGTH - 1] == 'H')
{
- uschar basename[SPOOL_NAME_LENGTH];
+ uschar basename[SPOOL_NAME_LENGTH + 1];
stripchart_total[0]++;
if (!eximon_initialized) { printf("."); fflush(stdout); }
Ustrcpy(basename, name);