From: Hallvard Furuseth Date: Tue, 3 Aug 1999 03:58:49 +0000 (+0000) Subject: Grow buffer[] declaration to make space for " $ " separators X-Git-Tag: TWEB_OL_BASE~317 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a9f6fc35f70e8a93f0e8362cce6a21df99259eb5;p=openldap Grow buffer[] declaration to make space for " $ " separators --- diff --git a/clients/ud/mod.c b/clients/ud/mod.c index e5542cbdac..9f6322572e 100644 --- a/clients/ud/mod.c +++ b/clients/ud/mod.c @@ -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)