diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-14 14:26:14 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-02-14 14:26:14 +0000 |
commit | 0d46a8c87e92e8136cf1f0f6985b3a87815517f5 (patch) | |
tree | eee718f16a4db29fa754cf77d4807d334499eeb0 /src | |
parent | c91535f35c1f54bb30e5611791c93e78f2efd5d0 (diff) |
Fix eximon buffer overflow bug.
Diffstat (limited to 'src')
-rw-r--r-- | src/exim_monitor/em_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exim_monitor/em_queue.c b/src/exim_monitor/em_queue.c index a6bdc5bb3..ec54116a0 100644 --- a/src/exim_monitor/em_queue.c +++ b/src/exim_monitor/em_queue.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/exim_monitor/em_queue.c,v 1.3 2006/02/07 11:18:59 ph10 Exp $ */ +/* $Cambridge: exim/src/exim_monitor/em_queue.c,v 1.4 2006/02/14 14:26:15 ph10 Exp $ */ /************************************************* * Exim Monitor * @@ -497,7 +497,7 @@ for (i = 0; i < subdir_max; i++) 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); |