]> git.sur5r.net Git - openldap/commitdiff
Grow buffer[] declaration to make space for " $ " separators
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 3 Aug 1999 03:58:49 +0000 (03:58 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 3 Aug 1999 03:58:49 +0000 (03:58 +0000)
clients/ud/mod.c

index e5542cbdacebd2d6f02343974e36c6a86457c71d..9f6322572e3681ae6c9c5c72f7fc54464655a264 100644 (file)
@@ -375,7 +375,7 @@ get_value( char *id, char *prompt )
        int count;              /* line # of new value -- if multiline */
        int multiline = 0;      /* 1 if this value is multiline */
        static char line[LINE_SIZE];    /* raw line from user */
-       static char buffer[MAX_DESC_LINES * LINE_SIZE]; /* holds ALL of the 
+       static char buffer[MAX_DESC_LINES * (LINE_SIZE+2)]; /* holds ALL of the
                                                           lines we get */
 #ifdef DEBUG
        if (debug & D_TRACE)