From 9969b488447e8047dfbfb5ee5447a71eaccb1640 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 5 Jun 1997 09:22:42 +0000 Subject: bigger buf --- libexec/ftpd/ftpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec') 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; -- cgit v1.2.3