]> Pileus Git - ~andy/fetchmail/commitdiff
Leave space for the trailing NUL.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 1 Oct 1997 13:48:55 +0000 (13:48 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 1 Oct 1997 13:48:55 +0000 (13:48 -0000)
svn path=/trunk/; revision=1458

driver.c

index e6ddd04a7ad65c4f598f97149fab46a490422ebf..86622068fce845ad2f741a33832c0ef2f0a2143a 100644 (file)
--- 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)