Fix one byte buffer overflow

Submitted by: Eric Allman <eric@sendmail.org>
This commit is contained in:
Andrey A. Chernov 1996-09-22 14:57:00 +00:00
parent 76a4217503
commit a59b44944e

View File

@ -1884,7 +1884,7 @@ get_column(line, col, delim, buf, buflen)
char *p;
char *begin, *end;
int i;
char delimbuf[3];
char delimbuf[4];
if (delim == '\0')
strcpy(delimbuf, "\n\t ");