From 27ec8835f382c361fd2e527afc31278a767f4954 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 25 Jan 1997 14:00:16 +0000 Subject: Fix reply bug. svn path=/trunk/; revision=826 --- driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver.c b/driver.c index 0cecb23e..9a61ecaa 100644 --- a/driver.c +++ b/driver.c @@ -433,7 +433,8 @@ char *realname; /* real name of host */ if (!SockGets(buf, sizeof(buf)-1, sockfp)) return(PS_SOCKET); vtalarm(ctl->server.timeout); - line = realloc(line, strlen(line) + strlen(buf) + 1); + /* leave extra room for reply_hack to play with */ + line = realloc(line, strlen(line) + strlen(buf) + HOSTLEN + 1); strcat(line, buf); } while /* we may need to grab RFC822 continuations */ -- cgit v1.2.3