aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-02-15 23:44:15 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-02-15 23:44:15 +0000
commited0683d77478e73226e4e0535a13c8eacfff9b88 (patch)
treefab9b1332575631d491e39d1be1697e7ab78a1cb /driver.c
parenteaa399b2ecf0190c193c513cb1a2412d52593306 (diff)
downloadfetchmail-ed0683d77478e73226e4e0535a13c8eacfff9b88.tar.gz
fetchmail-ed0683d77478e73226e4e0535a13c8eacfff9b88.tar.bz2
fetchmail-ed0683d77478e73226e4e0535a13c8eacfff9b88.zip
Prevent a buffer overrun.
svn path=/trunk/; revision=2755
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 8daf5f3e..9157a14f 100644
--- a/driver.c
+++ b/driver.c
@@ -1543,7 +1543,7 @@ const int maxfetch; /* maximum number of messages to fetch */
}
else
{
- char buf[POPBUFSIZE+1], *realhost;
+ char buf[MSGBUFSIZE+1], *realhost;
int len, num, count, new, bytes, deletions = 0, *msgsizes = NULL;
#if INET6_ENABLE
int fetches, dispatches, oldphase;