aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c3
1 files changed, 2 insertions, 1 deletions
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 */