diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-05 09:22:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-05 09:22:42 +0000 |
commit | 9969b488447e8047dfbfb5ee5447a71eaccb1640 (patch) | |
tree | 70502f5d1287047f8a7018b8df93c92a06403424 | |
parent | 34658c3bfbf4b95367d1a8c28e971d407082c99c (diff) |
bigger buf
-rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index bff8a846062..35d2eebee5f 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.36 1997/06/01 06:40:34 downsj Exp $ */ +/* $OpenBSD: ftpd.c,v 1.37 1997/06/05 09:22:41 deraadt Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -2065,7 +2065,7 @@ logxfer(name, size, start) off_t size; time_t start; { - char buf[2048]; + char buf[400 + MAXHOSTNAMELEN*4 + MAXPATHLEN*4]; char path[MAXPATHLEN]; char vremotehost[MAXHOSTNAMELEN*4], vpath[MAXPATHLEN*4]; char *vname, *vpw; |