From a9f6fc35f70e8a93f0e8362cce6a21df99259eb5 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 3 Aug 1999 03:58:49 +0000 Subject: [PATCH] Grow buffer[] declaration to make space for " $ " separators --- clients/ud/mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5