From f1f91223732477be014979863d2c6786e1268ada Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 1 Oct 1997 13:48:55 +0000 Subject: Leave space for the trailing NUL. svn path=/trunk/; revision=1458 --- driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver.c b/driver.c index e6ddd04a..86622068 100644 --- a/driver.c +++ b/driver.c @@ -860,7 +860,7 @@ int num; /* index of message */ length += (strlen(idp->id) + 1); good_addresses++; } - names = (char *)alloca(length); + names = (char *)alloca(++length); names[0] = '\0'; for (idp = xmit_names; idp; idp = idp->next) if (idp->val.num == XMIT_ACCEPT) -- cgit v1.2.3